Login  Register

Howto solve the InvalidClassException

Posted by Raj-18 on Jul 11, 2006; 6:43pm
URL: http://ofbiz.116.s1.nabble.com/Howto-solve-the-InvalidClassException-tp140674.html

Hi all,

 

Using RMI i connected user Login service from outside application, if input
is wrong username or wrong password, its giving proper response mesg as "no
user found" & "password incorrect". but if input is right username password
its showing following errors:

 

java.rmi.UnmarshalException: error unmarshalling return; nested exception
is:  

java.io.InvalidClassException: org.ofbiz.entity.GenericEntity; local class
incompatible: stream classdesc serialVersionUID = -8060388945356960605,
local class serialVersionUID = 2101858786673435162

 

and i imported required jar files such as
ofbiz,ofbiz-base,entity,service,entityext,ofbiz-service-rmi

 

How to solve this?

Thanks in advance