Solved

Problem with Netbeans/Tomcat: SEVERE Error

Posted on 2006-11-21
4
270 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 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

Major Serverless Shift

Comparison of major players like AWS, Microsoft Azure, IBM Bluemix, and Google Cloud Platform

Question has a verified solution.

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

Java contains several comparison operators (e.g., <, <=, >, >=, ==, !=) that allow you to compare primitive values. However, these operators cannot be used to compare the contents of objects. Interface Comparable is used to allow objects of a cl…
Go is an acronym of golang, is a programming language developed Google in 2007. Go is a new language that is mostly in the C family, with significant input from Pascal/Modula/Oberon family. Hence Go arisen as low-level language with fast compilation…
This tutorial covers a practical example of lazy loading technique and early loading technique in a Singleton Design Pattern.
This tutorial covers a step-by-step guide to install VisualVM launcher in eclipse.
Suggested Courses

632 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