Solved

Problem with Netbeans/Tomcat: SEVERE Error

Posted on 2006-11-21
4
255 Views
Last Modified: 2013-11-24
SEVERE: IOException while loading persisted sessions: java.io.InvalidClassException: com.fujitsu.fme.pride.Tools; local class incompatible: stream classdesc serialVersionUID = -4675899486712754987, local class serialVersionUID = 9071843829692306762
java.io.InvalidClassException: com.fujitsu.fme.pride.Tools; local class incompatible: stream classdesc serialVersionUID = -4675899486712754987, local class serialVersionUID = 9071843829692306762

I tried:
- deleting the class files
- restart tomcat
- restart desktop pc

Any hint?
0
Comment
Question by:go4java
  • 2
4 Comments
 
LVL 23

Assisted Solution

by:Ajay-Singh
Ajay-Singh earned 250 total points
ID: 17988740
try adding the following to the class com.fujitsu.fme.pride.Tools


private static final long serialVersionUID = 9071843829692306762L;
0
 
LVL 12

Accepted Solution

by:
enachemc earned 250 total points
ID: 17993815
you are using different class versions in your 2 java processes. Each seriazable class should have private static final long serialVersionUID = 9071843829692306762L; field declared.
0
 
LVL 12

Expert Comment

by:enachemc
ID: 17993820
The value does not matter. It should be different from one version to another version.
0
 

Author Comment

by:go4java
ID: 17993849
resolved when moving JAR to another platform, seems to be local configuration of tomcat/netbeans.
0

Featured Post

What Should I Do With This Threat Intelligence?

Are you wondering if you actually need threat intelligence? The answer is yes. We explain the basics for creating useful threat intelligence.

Join & Write a Comment

After being asked a question last year, I went into one of my moods where I did some research and code just for the fun and learning of it all.  Subsequently, from this journey, I put together this article on "Range Searching Using Visual Basic.NET …
Introduction This article is the first of three articles that explain why and how the Experts Exchange QA Team does test automation for our web site. This article explains our test automation goals. Then rationale is given for the tools we use to a…
Viewers will learn about the different types of variables in Java and how to declare them. Decide the type of variable desired: Put the keyword corresponding to the type of variable in front of the variable name: Use the equal sign to assign a v…
The viewer will learn how to implement Singleton Design Pattern in Java.

707 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

20 Experts available now in Live!

Get 1:1 Help Now