File -> Settings -> Editor -> Inspections -> 搜索 Serialization issues ,找到 Serializable class without 'serialVersionUID' ->打上勾,Apply->OK
新建Java文件,例如XXX.java
即可,效果如下:
File -> Settings -> Editor -> Inspections -> 搜索 Serialization issues ,找到 Serializable class without 'serialVersionUID' ->打上勾,Apply->OK
新建Java文件,例如XXX.java
本文标题:IDEA自动生成序列化ID
本文链接:https://www.haomeiwen.com/subject/aumxmhtx.html
网友评论