我是靠谱客的博主 狂野美女,这篇文章主要介绍使用redis时遇到的一些异常,现在分享给大家,希望可以做个参考。

最近刚开始使用redis,把遇到的一些问题记录下来,如下:

  1. 异常: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时遇到内容请搜索靠谱客的其他文章。

本图文内容来源于网友提供,作为学习参考使用,或来自网络收集整理,版权属于原作者所有。
点赞(63)

评论列表共有 0 条评论

立即
投稿
返回
顶部