I am unable to work out why I can't serialize and then immediately de-serialize an object with the following code without getting the error
java.io.InvalidClassException: java.util.Date; local class incompatible: stream classdesc serialVersionUID = 7523895402267505689, local class serialVersionUID = 7523967970034938905
If the serialized class were being passed between different versions of Java then I understand that the serialVersionUID may be an issue but in this case I do not understand why the values should differ.
Thanks,
Kim