生成serialVersionUID
生成serialVersionUID
1.设置
Setting->Editor->Inspections->Serialization issues->Serializable class without ’serialVersionUID’ ,勾选上
2.新建一个类实现Serializable接口,按alt+enter即可生成
1.设置
Setting->Editor->Inspections->Serialization issues->Serializable class without ’serialVersionUID’ ,勾选上
2.新建一个类实现Serializable接口,按alt+enter即可生成