7 Replies Latest reply: May 27, 2014 3:39 AM by Skh-Oracle RSS

    java.io.InvalidClassException: org.eclipse.persistence.internal.indirection.DatabaseValueHolder; local class incompatible: stream classdesc serialVersionUID = -6893195210780291759, local class serialVersionUID = 1128857921468654749

    abenk

      Hi,

      I recently create a webservice application.

      It work fine when the server is implemented as java application. But when rewritten as web application( *.war),  the deploiement work on WLS.

      However it throws java.io.InvalidClassException: org.eclipse.persistence.internal.indirection.DatabaseValueHolder; local class incompatible: stream classdesc serialVersionUID = -6893195210780291759, local class serialVersionUID = 1128857921468654749 error when the client start consumming the web service methods.

      I add both eclipselink-javax.persistence-2.0.jar and eclipselink-2.0.2.jar(which are also used in the server side) in $WL_HOME/wlserver_10.3/common/deployable-libraries, that doesn't solve the problem yet.

       

      Any help will be appreciated, cheers.