最近刚开始使用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
未完待续……