最近刚开始使用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
未完待续……
最后
以上就是狂野美女最近收集整理的关于使用redis时遇到的一些异常的全部内容,更多相关使用redis时遇到内容请搜索靠谱客的其他文章。
本图文内容来源于网友提供,作为学习参考使用,或来自网络收集整理,版权属于原作者所有。
发表评论 取消回复