[Spring] Jackson을 통한 LocalDateTime 매핑 시 deserialize 에러 해결
DTO 를 Redis 에 넣어 호출하려는 와중 다음과 같은 에러가 발생하였습니다. org.springframework.data.redis.serializer.SerializationException: Could not read JSON: Cannot construct instance of `java.time.LocalDateTime` (no Creators, like default construct, exist): cannot deserialize from Object value (no delegate- or property-based Creator) 찾아보니 이 방법은 Java의 Jackson Mapper의 버전와 관련된 문제여서 이전의 경우 Serialize를 하지 못해 발생하는 문제였습니다. 그래서..
Server
2021. 12. 16. 18:34
공지사항