当出现了这样的报错org.springframework.core.serializer.support.SerializationFailedException: Failed to serialize object using DefaultSerializer; nested exception is java.lang.IllegalArgumentException
是因为对象没有序列化,在public class Employee 类后面加上implements Serializable
RedisTemplete.opsForValue.set报错。
最新推荐文章于 2024-07-05 10:14:45 发布
关键词由CSDN通过智能技术生成