Hi,
i updated the client and the server of my application to hibernate 3.5. The compiler tells me, there are no errors, but when i try to retrieve some objects at runtime, i get the following exception:
Code:
error unmarshalling return; nested exception is: java.lang.ClassNotFoundException: org.hibernate.proxy.pojo.javassist.SerializableProxy: java.rmi.UnmarshalException: error unmarshalling return; nested exception is:
java.lang.ClassNotFoundException: org.hibernate.proxy.pojo.javassist.SerializableProxy
at sun.rmi.server.UnicastRef.invoke(UnicastRef.java:178)
at java.rmi.server.RemoteObjectInvocationHandler.invokeRemoteMethod(RemoteObjectInvocationHandler.java:178)
at java.rmi.server.RemoteObjectInvocationHandler.invoke(RemoteObjectInvocationHandler.java:132)
a later on appearing exception tells me, that the versions of the serializableProxy are different:
Code:
java.rmi.UnmarshalException: error unmarshalling return; nested exception is:
java.io.InvalidClassException: org.hibernate.proxy.pojo.javassist.SerializableProxy; local class incompatible: stream classdesc serialVersionUID = -7588447293838694298, local class serialVersionUID = 1180036893511205383
at sun.rmi.server.UnicastRef.invoke(UnicastRef.java:173)
at java.rmi.server.RemoteObjectInvocationHandler.invokeRemoteMethod(RemoteObjectInvocationHandler.java:178)
at java.rmi.server.RemoteObjectInvocationHandler.invoke(RemoteObjectInvocationHandler.java:132)
but i'm definitly using the same hibernate.jar.
i inspected the jar file, the org.hibernate.proxy.pojo.javassist.SerializableProxy is placed where it should be.
if i replace the 3.5. jar with the old ones, 3.2.6. everything works fine, what am i missing here?