📢 오류 사항이번 오류는 Redis를 통해서 캐싱처리를 하면서 발생했던 오류를 살펴보려고 한다.우선 코드를 먼저 보는것이 좋을것 같다 평소 로직에서 크게 변함이 없지만 차이점은 바로 @Cacheable을 추가해주었다. 그리고 발생한 오류이다.com.fasterxml.jackson.databind.exc.InvalidDefinitionException: Cannot construct instance of `org.springframework.http.ResponseEntity` (no Creators, like default constructor, exist): cannot deserialize from Object value (no delegate- or property-based Creator) ?..
📢 오류 사항 Ignoring exception, response committed already: org.springframework.http.converter.HttpMessageNotWritableException: Could not write JSON: Infinite recursion (StackOverflowError) Resolved [org.springframework.http.converter.HttpMessageNotWritableException: Could not write JSON: Infinite recursion (StackOverflowError)] 💭 이유 스택 오버 플로우의 발생 원인은 JPA의 연관관계에 의한 상황이였다. JPA는 기본적으로 fetch 정책을 defaul..