标签:dea 情况 sha ble blog 接口 inspect sdn issues
默认情况下Intellij IDEA是关闭了继承了Serializable接口的类生成serialVersionUID的警告。如果需要ide提示生成serialVersionUID,那么需要做以下设置:
1、setting->Inspections->Serialization issues,将serialzable class without "serialVersionUID"打上勾;
2、类实现Serializable接口;
3、光标定位到类名称所在位置
4、Alt + Enter 快捷键
5、自动生成serialVersionUID
标签:dea 情况 sha ble blog 接口 inspect sdn issues
原文地址:https://www.cnblogs.com/zouhong/p/12975929.html