본문 바로가기 메뉴 바로가기

ABBO 기술 블로그

프로필사진
  • 글쓰기
  • 관리
  • 태그
  • 방명록
  • RSS

ABBO 기술 블로그

검색하기 폼
  • 분류 전체보기 (465)
    • AI Trend (2)
    • Git (12)
    • Server (242)
    • Client (69)
    • Apple (31)
    • Study (109)
  • 방명록

org.springframework.data.redis.serializer.SerializationException (1)
[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
이전 1 다음
이전 다음
공지사항

Blog is powered by Tistory / Designed by Tistory

티스토리툴바