S
steen
Hey,
I've just started a job at a company maintaining their existing
applications.
They have a swing application which retrieves an object through rmi
and this is where I've run into a problem.
If I run the client code through Eclipse I get a
Caused by: java.rmi.UnmarshalException: Error deserializing return-
value: java.io.InvalidClassException:
dk.company.core.shared.security.User; local class incompatible: stream
classdesc serialVersionUID = 9118414514559389810, local class
serialVersionUID = 5591922392715427412
but if I run it through IDEA it works just fine.
I'm thinking there is a problem with the java versions, but as far as
I can see both eclipse and idea run with the same settings :
Eclipse: jdk1.6.0_01 as compiler and 1.4 as "Generated .class files
compatibility" and "Source compatibility"
IDEA: same jdk1.6.0_01 as compiler and 1.4 as "Project language level"
I'd prefer to use Eclipse for this but if I cant resolve this I guess
I'll have to go with IDEA.
Anyone got any ideas what setting in Ecilpse I'm missing ?
/Steen
I've just started a job at a company maintaining their existing
applications.
They have a swing application which retrieves an object through rmi
and this is where I've run into a problem.
If I run the client code through Eclipse I get a
Caused by: java.rmi.UnmarshalException: Error deserializing return-
value: java.io.InvalidClassException:
dk.company.core.shared.security.User; local class incompatible: stream
classdesc serialVersionUID = 9118414514559389810, local class
serialVersionUID = 5591922392715427412
but if I run it through IDEA it works just fine.
I'm thinking there is a problem with the java versions, but as far as
I can see both eclipse and idea run with the same settings :
Eclipse: jdk1.6.0_01 as compiler and 1.4 as "Generated .class files
compatibility" and "Source compatibility"
IDEA: same jdk1.6.0_01 as compiler and 1.4 as "Project language level"
I'd prefer to use Eclipse for this but if I cant resolve this I guess
I'll have to go with IDEA.
Anyone got any ideas what setting in Ecilpse I'm missing ?
/Steen