DefaultSerializer requires a Serializable payload but received an object of type [

时间:2025-02-17 17:39:09
DefaultSerializer requires a Serializable payload but received an object of type []
at
翻译: 默认的序列化需要一个可序列化的有效负载,但是接收了一个类型为[]的对象。

错误解决办法至一:在实体类上implements Serializable(继承序列化)public class Employee implements Serializable {