实现序列化后报错
来源:4-14 分布式会话实现(中)

MaJesTySA
2019-06-22
org.springframework.data.redis.serializer.SerializationException: Cannot deserialize; nested exception is org.springframework.core.serializer.support.SerializationFailedException: Failed to deserialize payload. Is the byte array a result of corresponding serialization for DefaultDeserializer?; nested exception is org.springframework.core.NestedIOException: Failed to deserialize object type; nested exception is java.lang.ClassNotFoundException: org.springframework.security.web.savedrequest.DefaultSavedRequest
··············
UserModel实不实现Serializable报错都是一样的。
写回答
1回答
-
龙虾三少
2019-06-22
错误贴全,报错里写了类找不到,确认下springboot版本和课程中是否一致
022019-06-22
相似问题