Why isn\'t the serialVersionUID automatically generated? I was running into an issue on an application server where apparently an old class was being cached.
It is automatically generated, based on the structure of the class. If the structure changes, the id is regenerated (according to the serialization specification it is a hashof the class).
So you'd better define an explicit serialVersionUID.