Hello, I have a problem using lazyInitialisation with one class. My application is using apache tomcat and java.
java.rmi.UnmarshalException: Error unmarshaling return; nested exception is: java.io.InvalidClassException: org.hibernate.LazyInitializationException; local class incompatible: stream classdesc serialVersionUID = 2437230972983101293, local class serialVersionUID = -1717452178421177016
Can anyone help me out? Thanks
here's my versions files.
<dependency> <groupId>org.hibernate</groupId> <artifactId>hibernate-core</artifactId> <version>3.6.6.Final</version> <scope>provided</scope> </dependency>
<dependency> <groupId>org.hibernate</groupId> <artifactId>hibernate-entitymanager</artifactId> <version>3.6.6.Final</version> <scope>provided</scope> </dependency>
<dependency> <groupId>org.hibernate</groupId> <artifactId>hibernate-tools</artifactId> <version>3.2.4.GA</version> <scope>provided</scope> </dependency>
<dependency> <groupId>org.hibernate</groupId> <artifactId>hibernate-envers</artifactId> <version>3.6.6.Final</version> <scope>provided</scope> </dependency> <dependency> <groupId>org.hibernate</groupId> <artifactId>hibernate-c3p0</artifactId> <version>3.6.6.Final</version> <scope>provided</scope> </dependency>
|