Redis:Serializable异常完美解决方案 Adam南帝梁 2021-11-15 591 阅读1分钟 问题报错 DefaultSerializer requires a Serializable payload but received an object of type [******] 问题原因 没有实现 Serializable 接口,因为 Spring 会将对象先序列化再存入 Redis 解决方法 public class demo implements Serializable