A friendly place for programming greenhorns!
Big Moose Saloon
Register / Login
EJB and other Java EE Technologies
InvalidClassException + incompatible: stream classdesc serialVersionUID
Joined: Mar 01, 2005
Aug 12, 2006 20:16:00
in my project i am referring to the services for any backend opearation.
here when i tried to invoke a service i got the below mentioned exception.
com.SearchCriteria; local class incompatible: stream classdesc serialVersionUID
= -998833680058290168, local class serialVersionUID = 29702
I am able to figure out the problem is with in the serialUid but donno whats the exact root cause of the problem
Any help would be appreciated.
Joined: Feb 05, 2001
Aug 13, 2006 10:20:00
Either a different version of the JVM versus what you compiled your code in, or the class is loaded in a different classloader that your app doesn't have access to.
Perfect World Programming, LLC
Two Laptop Bag
How to Ask Questions the Smart Way FAQ
Senthil S Kumar
Joined: Aug 13, 2006
Aug 13, 2006 12:40:00
If serialVersionUID is not explicitly defined in com.SearchCriteria, you will get this exception if your version of com.SearchCriteria is different from the service you are refering to.
Make sure you get the latest client library from your service provider.
[ August 13, 2006: Message edited by: Senthil S Kumar ]
I agree. Here's the link:
subject: InvalidClassException + incompatible: stream classdesc serialVersionUID
jasper reports -Plz help me out
serialVersionUID error message when executing swing based application from netbeans
Deployment errors in JBoss5.1
Weblogic 7 with jdk 1.6 - Does it support jdk 1.6?
Error using JBoss5.0.0GA
All times are in JavaRanch time: GMT-6 in summer, GMT-7 in winter
| Powered by
Copyright © 1998-2014