Notice
Recent Posts
Recent Comments
Link
일 | 월 | 화 | 수 | 목 | 금 | 토 |
---|---|---|---|---|---|---|
1 | 2 | 3 | ||||
4 | 5 | 6 | 7 | 8 | 9 | 10 |
11 | 12 | 13 | 14 | 15 | 16 | 17 |
18 | 19 | 20 | 21 | 22 | 23 | 24 |
25 | 26 | 27 | 28 | 29 | 30 | 31 |
Tags
- C
- Linux
- junit
- mycp
- @Spring
- NamedParameterNotBound
- 여러인수
- 백준
- decorator
- 10844
- 10951
- createQuery
- 자료구조
- 점세개
- 자바
- 숫자야구
- @NotEmpty
- setParameter
- 디자인패턴
- 쉬운 계단 수
- @ModelAttribute
- 데코레이터패턴
- java
- springboot
- 전치행렬 #C
- designpattern
- BubbleSorting
- pscp
- gradle
- Spring
Archives
- Today
- Total
...
[Jpa/Spring/mysql] org.hibernate.InstantiationException: No default constructor for entity 오류 해결 본문
이것저것/오류 해결
[Jpa/Spring/mysql] org.hibernate.InstantiationException: No default constructor for entity 오류 해결
gi2 2022. 6. 15. 17:49jpa에는 entity에 기본 생성자가 필수적으로 있어야 하는데,
기본 생성자를 지정해주지 않아 발생하는 오류이다.
상단에 롬복 어노테이션으로 @NoArgsConsturctor를 Protected level로 설정해주었더니 문제가 해결되었다.

'이것저것 > 오류 해결' 카테고리의 다른 글
Comments