Intellij IDEA 14 自动生成 serialVersionUID
1. Preferences > Editor > Inspections > Java > Serialization issues > Serializable class without 'serialVersionUID' 勾选上
2. 将光标放在类名上,alt + enter 生成 serialVersionUID
1. Preferences > Editor > Inspections > Java > Serialization issues > Serializable class without 'serialVersionUID' 勾选上
2. 将光标放在类名上,alt + enter 生成 serialVersionUID