반응형
Caused by: java.lang.IllegalArgumentException: DefaultSerializer requires a Serializable payload but received an object of type [com.jojoldu.book.springboot.config.auth.dto.SessionUser]
at org.springframework.core.serializer.DefaultSerializer.serialize(DefaultSerializer.java:43) ~[spring-core-5.3.9.jar:5.3.9]
at org.springframework.core.serializer.Serializer.serializeToByteArray(Serializer.java:56) ~[spring-core-5.3.9.jar:5.3.9]
at org.springframework.core.serializer.support.SerializingConverter.convert(SerializingConverter.java:60) ~[spring-core-5.3.9.jar:5.3.9]
스프링부트에 ouath2로 네이버 로그인을 연동할 때 에러가 떴다.
직렬화가 제대로 되지 않아서 뜬 에러같은데 네이버 정보를 SessionUser로 가져오다가 문제가 생긴것같다.
좀 더 찾아보자
반응형
'프로그래밍 > 발생한 에러들' 카테고리의 다른 글
[Javascript] getElementById is not a function (0) | 2021.10.02 |
---|---|
[Android] E/net.daum.mf.map.n.api.NativeBaseNetConnection: Cleartext HTTP traffi (0) | 2021.09.27 |
[Android] 카카오지도 API 호출 시 앱이 꺼짐 (0) | 2021.09.10 |
[Springboot] MediaType.APPLICATION_JSON_UTF8 is deprecated (0) | 2021.08.14 |
intellij output에서 한글 깨지는 현상 (0) | 2021.08.14 |