idea自动生成serialVersionUID

点击idea左上角File -> Settings -> Editor -> Inspections -> 搜索 Serialization issues ,找到 Serializable class without ‘serialVersionUID’ ->打上勾,再点击Apply->OK

 

posted @ 2022-05-29 21:21  wyuioahxvm  阅读(25)  评论(0编辑  收藏  举报