I'm using the serialization mechanism for save and load objects from the HDD. I think that define the field "serialVersionUID" is redundancy for me.
How can I say JVM doesn't compare these fields?
Exception in thread "main" java.io.InvalidClassException: ClientRepository; local class incompatible: stream classdesc serialVersionUID = -477189107700903771, local class serialVersionUID = 1