728x90
반응형
에러내용

com.fasterxml.jackson.databind.exc.InvalidDefinitionException: Cannot construct instance of `com.example.restful.user.User` (no Creators, like default constructor, exist): cannot deserialize from Object value (no delegate- or property-based Creator)
에러원인
no Creators, like default constructor, exist
- 디폴트 생성자가 없다는 뜻
에러조치
에러 내용에 User 클래스가 명시되어있다.
User클래스에 @NoArgsConstructor 을 추가.

728x90
반응형
'Error' 카테고리의 다른 글
| InvalidDataAccessResourceUsageException (1) | 2022.09.23 |
|---|---|
| Failed to start bean 'documentationPluginsBootstrapper'; nested exception is java.lang.NullPointerException (0) | 2022.09.11 |
| Cannot call sendError() after the response has been committed (0) | 2022.08.29 |
| Unknown column 'user0_.user_id' in 'field list' (0) | 2022.08.29 |
| BeanCurrentlyInCreationException 에러 (0) | 2022.08.29 |