問題:
When I used Eclipse it had a nice feature to generate serial version UID.當我使用Eclipse 時,它有一個很好的功能來生成串行版本的 UID。
But what to do in IntelliJ?但是在 IntelliJ 中該怎麼做呢?
How to choose or generate identical serial version UID in IntelliJ?如何在 IntelliJ 中選擇或生成相同的串行版本 UID?
And what to do when you modify old class?修改舊類時怎麼辦?
If you haven't specify the id
, it is generated at runtime...如果您沒有指定id
,它會在運行時生成...
解決方案:
參考一: https://en.stackoom.com/question/1f6j5參考二: https://stackoom.com/question/1f6j5