inflearn logo
강의

강의

N
챌린지

챌린지

멘토링

멘토링

N
클립

클립

로드맵

로드맵

지식공유

호돌맨의 요절복통 개발쇼 (SpringBoot, Vue.JS, AWS)

작성글 저장2 - 클래스 분리

514

nose딩

작성한 질문수 2

1

org.springframework.web.util.NestedServletException: Request processing failed; nested exception is org.springframework.http.converter.HttpMessageConversionException: Type definition error: [simple type, class com.selfstudy.request.PostCreate]; nested exception is com.fasterxml.jackson.databind.exc.InvalidDefinitionException: Cannot construct instance of com.selfstudy.request.PostCreate (no Creators, like default constructor, exist): cannot deserialize from Object value (no delegate- or property-based Creator) at [Source: (org.springframework.util.StreamUtils$NonClosingInputStream); line: 1, column: 2]

 

안녕하세요 호돌님, 강의의 '작성글 저장2 - 클래스 분리' 파트 초반부분에서 영상대로 따라했는데 테스트가 실패하여서 관련 오류를 찾아 PostCreate 클래스에 @NoArgsConstructor 어노테이션을 이용해 기본생성자를 추가하는 방법으로 오류를 해결했습니다.

그런데 영상에선 분명히 PostCreate 클래스에 따로 기본생성자를 추가한 것이 안보이는데 어떤 차이로인해 오류가 발생한 것인지 궁금합니다

vue.js aws spring-boot jpa spring-security

답변 1

0

호돌맨

안녕하세요.
시간 나실때 오픈톡으로 채팅 부탁드립니다.
https://open.kakao.com/o/snQ6aljd

감사합니다.

Deprecated 관련 사항들

0

130

2

깃헙 collaboator 초대 관련

0

105

1

강의 듣다가 도커 이미지 생성시 각각도 가능하나 그렇게 사용하는데가 많은지 모르겠다라는 말을 듣고 남김니다

0

171

2

logout 후에 login 페이지 이동은 어디서 시켜주는건가요?

0

243

1

다중 데이터를 삭제 할 때

0

294

2

querydsl Q class 이슈

0

433

2

Windows WSL Vue 설정

2

256

1

Dip, @transactional

0

200

1

[vite] http proxy error: /auth/login

0

1078

2

로그인 하고 나서 GET요청으로 메인페이지 요청

0

246

2

GitHub Collaborator 초대 관련

0

286

2

Window에서 Vue.js 설정

0

335

2

(솔루션 수정)'tsyringe' Error: TypeInfo not known for "클래스명"

0

740

2

collaboator로 초대받을 수 있을까요??

0

299

2

SecurityMockContext 로부터 유저 정보를 가져오기

0

278

1

given 부분이 길어질 때 어떻게 처리하면 좋을까요?

0

326

1

섹션9 프론트의 코드를 보고싶습니다,,,

0

427

1

Spring Security - defaultSuccessUrl 질문

0

639

1

강의 화면이 나오지 않습니다. 음성과 자막만 나와요

0

315

1

JPAQueryFactory(em)의 객체 생성자 오류에 대해서 질문이 있습니다ㅜㅜ

0

702

2

ExceptionHandler가 AccessDeniedHandler(Http403Handler)를 먹어버리는 현상

0

1191

2

섹션10 언제 나오나요?

0

490

1

CommentService에서 Repository를 호출하지 않는데도

0

348

1

Editor....를 활용한 패턴에 질문있습니다.

0

502

1