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 |
Tags
- pscp
- 점세개
- 데코레이터패턴
- gradle
- createQuery
- @Spring
- @NotEmpty
- 자료구조
- Spring
- designpattern
- BubbleSorting
- NamedParameterNotBound
- junit
- 10844
- decorator
- 백준
- java
- setParameter
- 쉬운 계단 수
- C
- 숫자야구
- 자바
- 여러인수
- @ModelAttribute
- 디자인패턴
- Linux
- springboot
- mycp
- 10951
- 전치행렬 #C
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로 설정해주었더니 문제가 해결되었다.
