I need some help with this error, I know it's something about classes being different. But it's kinda strange in this case.
We're working on this project in which we use a SessionFacade to make the calls to the EJB's. In the facade there are methods which do these calls, so all you need to do is invoke the required methods (with arguments).
The exception pops up when I make a call called "getDomains()" to the sessionfacade, after I created a "Domain" Object.
According to the HDBM, there is in fact an object created...
But then when I try to "get" the object the exception occurs.
java.rmi.UnmarshalException: Error unmarshaling return; nested exception is:
java.io.InvalidClassException: javax.ejb.EJBException; Local class not c
ompatible: stream classdesc serialVersionUID=796770993296843510 local class seri
alVersionUID=-9219910240172116449
java.io.InvalidClassException: javax.ejb.EJBException; Local class not compatibl
e: stream classdesc serialVersionUID=796770993296843510 local class serialVersio
nUID=-9219910240172116449
Any help is appreciated.
We're working on this project in which we use a SessionFacade to make the calls to the EJB's. In the facade there are methods which do these calls, so all you need to do is invoke the required methods (with arguments).
The exception pops up when I make a call called "getDomains()" to the sessionfacade, after I created a "Domain" Object.
According to the HDBM, there is in fact an object created...
But then when I try to "get" the object the exception occurs.
java.rmi.UnmarshalException: Error unmarshaling return; nested exception is:
java.io.InvalidClassException: javax.ejb.EJBException; Local class not c
ompatible: stream classdesc serialVersionUID=796770993296843510 local class seri
alVersionUID=-9219910240172116449
java.io.InvalidClassException: javax.ejb.EJBException; Local class not compatibl
e: stream classdesc serialVersionUID=796770993296843510 local class serialVersio
nUID=-9219910240172116449
Any help is appreciated.