?
Solved

Problem with Netbeans/Tomcat: SEVERE Error

Posted on 2006-11-21
4
Medium Priority
?
271 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 2
4 Comments
 
LVL 23

Assisted Solution

by:Ajay-Singh
Ajay-Singh earned 750 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 750 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

CHALLENGE LAB: Troubleshooting Connectivity Issues

Goal: Fix the connectivity issue in the lab's AWS environment so that you can SSH into the provided EC2 instance.  

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Introduction Java can be integrated with native programs using an interface called JNI(Java Native Interface). Native programs are programs which can directly run on the processor. JNI is simply a naming and calling convention so that the JVM (Java…
Java Flight Recorder and Java Mission Control together create a complete tool chain to continuously collect low level and detailed runtime information enabling after-the-fact incident analysis. Java Flight Recorder is a profiling and event collectio…
Viewers learn how to read error messages and identify possible mistakes that could cause hours of frustration. Coding is as much about debugging your code as it is about writing it. Define Error Message: Line Numbers: Type of Error: Break Down…
Viewers will learn about arithmetic and Boolean expressions in Java and the logical operators used to create Boolean expressions. We will cover the symbols used for arithmetic expressions and define each logical operator and how to use them in Boole…
Suggested Courses

719 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