Error Message
Oops: jpaqueryexception
An unexpected error occured caused by exception jpaqueryexception: Error while executing query select t from turnedin T, notification n where N. Itemid = T. ID and N. type =? And N. cycler. ID =? And N. isdeleted = false group by T order by T. createtime Desc: org. hibernate. type. serializationexception: cocould not deserialize
...
Caused by: Java. Io. invalidclassexception: models. member. member; local class incompatible: stream classdesc serialversionuid = 8996579512119659486, local class serialversionuid =-7513555048418418149
Cause of exception
The serialversionuid after local and remote member serialization is not
Solution
Change the version number (serialversionuid) in the local serialized class to the same as that in the local serialization class, and change Private Static final long serialversionuid = to a remote one, if not, add this sentence.
About"Org. hibernate. type. serializationexception: cocould not deserialize", I checked a lot of information for the following reasons:
1. The sequence version number of this class does not match the version number of the class descriptor read from the stream (JDK version change will cause this problem)
2. This class contains unknown data types (the data type is not specified in the hibernate configuration file)
3. This class does not have an accessible, non-parameter Constructor