1.File -> Settings -> Editor -> Inspections -> 搜索 Serialization issues ,找到 Serializable class without ‘serialVersionUID’ ->打上勾,Apply->OK
idea实体类序列化&自动生成序列化id配置

2.给目标类实现序列化,并添加序列化id即可。
idea实体类序列化&自动生成序列化id配置

相关文章:

  • 2021-08-12
  • 2021-04-08
  • 2022-01-23
  • 2021-08-28
  • 2022-01-01
  • 2021-12-16
猜你喜欢
  • 2021-12-07
  • 2021-06-27
  • 2022-02-26
相关资源
相似解决方案