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

구티

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

구티

검색하기 폼
  • 분류 전체보기 (172)
    • General (4)
    • MacOS (9)
    • Jenkins (3)
    • Linux (18)
    • Elastic Stack (19)
    • Spring (31)
    • Geography (1)
    • Tools (27)
    • GIT (1)
    • Gradle (8)
    • Java (16)
    • Prometheus & Grafana (0)
    • Spark & Scala (7)
    • Hadoop (1)
    • Synology (1)
    • Backend (3)
    • Cloud Platform (10)
      • AWS (10)
    • Web (0)
    • Frontend (3)
      • material-ui (1)
      • ReactJS (0)
    • Docker (5)
    • Database (3)
  • 방명록

Serialize (1)
Jackson - No serializer found Exception

Jackson으로 객체를 직렬화 할 때, 아래와 같이 에러가 발생할 때가 있습니다. 직렬화를 할 때, 객체의 getter를 사용하여 변환을 하는데 이 때 에러가 발생하면 아래와 같은 예외가 발생합니다. Exception in thread "main" com.fasterxml.jackson.databind.exc.InvalidDefinitionException: No serializer found for class com.example.springapp.animal.Cat and no properties discovered to create BeanSerializer (to avoid exception, disable SerializationFeature.FAIL_ON_EMPTY_BEANS) 코드를 보면 ..

Spring 2022. 4. 25. 09:53
이전 1 다음
이전 다음
공지사항
최근에 올라온 글
최근에 달린 댓글
Total
Today
Yesterday
링크
TAG
  • Linux
  • apm
  • JPA
  • Java
  • SpringBoot
  • logstash
  • Index
  • install
  • gradle
  • scala
  • error
  • AWS
  • mac
  • Size
  • elasticsearch
  • Log
  • tomcat
  • Postman
  • Filter
  • plugin
  • intellij
  • Kibana
  • JSON
  • spring
  • Container
  • Spark
  • maven
  • Git
  • spring boot
  • docker
more
«   2025/12   »
일 월 화 수 목 금 토
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
글 보관함

Blog is powered by Tistory / Designed by Tistory

티스토리툴바