How to handle java.io.InvalidClassException?
This question already has an answer here:
You are using a different version of the Applicant class. Maybe you first wrote the Applicant class object to the database and after that, you modified the class. That's why you are getting this message.
Write the object to the database again and then try to deserialize it.
链接地址: http://www.djcxy.com/p/23850.html