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
- springboot
- bytebuddyinterceptor
- websecurityconfiguration
- java.lang.nosuchmethoderror
- jsonignore
- Swagger
Archives
- Today
- Total
NOT FOUND
Exception: Type definition error: [simple type, class org.hibernate.proxy.pojo.bytebuddy.ByteBuddyInterceptor] 본문
spring boot
Exception: Type definition error: [simple type, class org.hibernate.proxy.pojo.bytebuddy.ByteBuddyInterceptor]
신토불이 2025. 3. 28. 17:24@JsonIgnore
@OneToOne(fetch = FetchType.LAZY)
private LandRecord landRecord;
@JsonIgnore
@ManyToOne(fetch = FetchType.LAZY)
private Organization organization;
FetchType.LAZY 사용시 json으로 변환이 안 되어서 생기는 문제로, @JsonIgnore을 붙여주면 해결된다.
import com.fasterxml.jackson.annotation.JsonIgnore;