Ide Eclipse stopped complaining about the need to declare the serial default Version ID. in serialized classes

0
Hello, using the Eclipse IDE when we create a class that we tell it to implement serialization (implements Serializable) it is common for IDE to claim the default serial Version Id.

I created a new project in the IDE and almost everything working normally in ide, but when creating a new class and implementing the serialization, Ide does not signal the need to create the default value anymore.

Does anyone know how to enable so that in the ide that it inform the need to create the default value equal to the figure below?

    
asked by anonymous 21.04.2018 / 17:31

1 answer

0

Go to Window - > Preferences - > Java - > Compiler - > Errors / Warnings - > Potential Programing Problems. Then simply locate the "Serializable class without serialVersionUID" option and select "Warning".

    
21.04.2018 / 17:50