IDEA菜单栏File——Settings——Editor——Inspections——Java——Serialization issues 2,应用后 实体类有这个提示 3,alt+enter 选择第一个 添加UID 字段 相关文章: