How do I get IntelliJ to generate serialVersionUID for me?

John Zukowski

You can add an inspection warning that will then offer a prompt to generate. You can find the option several layers deep under Settings. Settings -> Errors -> Serialization issues -> Serializable class without 'serialVersionUID'

About | Sitemap | Contact