DefaultSerializer requires a Serializable payload but received an object of type [com.shiyaxin.bean.Employee]
at org.springframework.core.serializer.DefaultSerializer.serialize
翻译: 默认的序列化需要一个可序列化的有效负载,但是接收了一个类型为[com.shiyaxin.bean.Employee]的对象。
在org.springframework.core.serializer.DefaultSerializer.serialize
错误解决办法至一:在实体类上implements Serializable(继承序列化)public class Employee implements Serializable {
DefaultSerializer requires a Serializable payload but received an object of type [com.shiyaxin.bean
最新推荐文章于 2022-08-18 10:09:18 发布