2
Contributors
1
Reply
2
Views
5 Years
Discussion Span
Last Post by JamesCherrill
0

When you have a serializable class you're supposed to define a serialVersionUID that ideentifies the version of the serialized form - if you change how it's serialized you're supposed to change the serialVersionUID.
It's a complete waste of time and a real annoyance. Either ignore it, or create a private static final long variable called serialVersionUID and give it an arbitrary value, eg 0, then forget it.

This question has already been answered. Start a new discussion instead.
Have something to contribute to this discussion? Please be thoughtful, detailed and courteous, and be sure to adhere to our posting rules.