I Have an serailVersionUID Exception while runing Junit Test
1 posts in topic
Flat View  Flat View
TOPIC ACTIONS:
 

Posted By:   aruna_rani
Posted On:   Tuesday, June 4, 2002 12:05 AM

when i doing JUnit Test
I am getting Exception
InvalidClassException :myClass.java,local class not compatible :stream class desc serialVersionUID=6879879879
local class serialVersionUID = 78098098980
please tell me why this exception i am getting

thanks
Aruna

Re: I Have an serailVersionUID Exception while runing Junit Test

Posted By:   Luigi_Viggiano  
Posted On:   Tuesday, June 4, 2002 12:27 AM

This happens when a serialized object on the server is sent to a client but you have different version of the classes on the two sides. You have to re-synchronize the .class files, to make them match. Maybe an older jar in the classpath?
About | Sitemap | Contact