ERROR 해결

[SpringBoot] 에러 해결org.springframework.core.codec.CodecException: Type definition error: [simple type,~

엘라 ELLA 2022. 12. 7. 13:58
728x90
반응형

에러 내용

org.springframework.core.codec.CodecException: Type definition error: [simple type,~ 

 

해결책 !

웹개발 xml 파일에서 select를 위해서 resultType으로 사용했던 DTO의 경로가 에러메세지에 표시가 되어 DTO파일에 다시 가서 @Data 어노테이션 추가 했더니 해결 됨!

 

+) @AllArgsConstructor 등 알맞은 어노테이션이 있는지 잘 확인 해 보세요:) 

 

 

 

게시글이 도움이 되었다면

[로그인]이 필요 없는 ❤ 눌러주세요:)

반응형