redis反序列化报错解决

异常:Cannot serialize; nested exception is
org.springframework.core.serializer.support.SerializationFailedException:Failed
to serialize object using DefaultSerializer; nested exception is
java.io.NotSerializableException: xxx

解决方案:

实体实现序列化

class xxx implements Serializable

posted @ 2020-08-26 18:53  MengW9  阅读(1078)  评论(0编辑  收藏  举报