You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
오류설명: PostsApiControllerTest 코드 작성 후 Test시 에러 발생
//when
ResponseEntity responseEntity = restTemplate.postForEntity(url, requestDto, Long.class);
이 부분에서..
JSON parse error: Cannot deserialize instance of java.lang.Long out of START_OBJECT token; nested exception is com.fasterxml.jackson.databind.exc.MismatchedInputException: Cannot deserialize instance of java.lang.Long out of START_OBJECT token
at [Source: (PushbackInputStream); line: 1, column: 1]
기존에 올라온 질문이 아닌지 먼저 검색해주세요!
어떤 오류인가요?
오류설명: PostsApiControllerTest 코드 작성 후 Test시 에러 발생
//when
ResponseEntity responseEntity = restTemplate.postForEntity(url, requestDto, Long.class);
이 부분에서..
JSON parse error: Cannot deserialize instance of
java.lang.Long
out of START_OBJECT token; nested exception is com.fasterxml.jackson.databind.exc.MismatchedInputException: Cannot deserialize instance ofjava.lang.Long
out of START_OBJECT tokenat [Source: (PushbackInputStream); line: 1, column: 1]
이런 에러가 발생했습니다.
프로젝트 주소
Github에 오류가 난 프로젝트를 올려주세요.
오류 로그
The text was updated successfully, but these errors were encountered: