I am using a class that implements Serializable from a jar, and to make sure there won't be compiler related issues I gave it a serialVersionUID private static final long serialVersionUID = 123L;
I then recreated the jar but now when I am using the class inside the new jar it is giving me the exception:
java.io.InvalidClassException: com.placeiq.piqhash.PIQDeviceId; local class incompatible: stream classdesc serialVersionUID = 1568630193381428614, local class serialVersionUID = 123
So my question is: 1, What is the stream classdesc serialVersionUID? 2, What can I do to set it so that the two serialVersionUID are the same?
Thanks!