Go Premium for a chance to win a PS4. Enter to Win

x
?
Solved

Problem with Netbeans/Tomcat: SEVERE Error

Posted on 2006-11-21
4
Medium Priority
?
272 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 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

What does it mean to be "Always On"?

Is your cloud always on? With an Always On cloud you won't have to worry about downtime for maintenance or software application code updates, ensuring that your bottom line isn't affected.

Question has a verified solution.

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

Are you developing a Java application and want to create Excel Spreadsheets? You have come to the right place, this article will describe how you can create Excel Spreadsheets from a Java Application. For the purposes of this article, I will be u…
Basic understanding on "OO- Object Orientation" is needed for designing a logical solution to solve a problem. Basic OOAD is a prerequisite for a coder to ensure that they follow the basic design of OO. This would help developers to understand the b…
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…
This tutorial explains how to use the VisualVM tool for the Java platform application. This video goes into detail on the Threads, Sampler, and Profiler tabs.
Suggested Courses

971 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