1.static 和 transient 修饰的属性 不可以被序列化 2.serialVersionUID 的值应该要赋值 否则 当你老工程序列化 更新之后在反序列化 会识别不了老数据 https://blog.csdn.net/qq_27093465/article/details/78544505#commentBox