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
- bytebuddyinterceptor
- jsonignore
- websecurityconfiguration
- java.lang.nosuchmethoderror
- Swagger
- springboot
Archives
- Today
- Total
목록2025/03 (1)
NOT FOUND
Exception: Type definition error: [simple type, class org.hibernate.proxy.pojo.bytebuddy.ByteBuddyInterceptor]
@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;
spring boot
2025. 3. 28. 17:24