Problem with Netbeans/Tomcat: SEVERE Error

Posted on 2006-11-21
Last Modified: 2013-11-24
SEVERE: IOException while loading persisted sessions:; local class incompatible: stream classdesc serialVersionUID = -4675899486712754987, local class serialVersionUID = 9071843829692306762; local class incompatible: stream classdesc serialVersionUID = -4675899486712754987, local class serialVersionUID = 9071843829692306762

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

Any hint?
Question by:go4java
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
LVL 23

Assisted Solution

Ajay-Singh earned 250 total points
ID: 17988740
try adding the following to the class

private static final long serialVersionUID = 9071843829692306762L;
LVL 12

Accepted Solution

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.
LVL 12

Expert Comment

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

Author Comment

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

Featured Post

PeopleSoft Has Never Been Easier

PeopleSoft Adoption Made Smooth & Simple!

On-The-Job Training Is made Intuitive & Easy With WalkMe's On-Screen Guidance Tool.  Claim Your Free WalkMe Account Now

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
hashmap order 17 63
junit as external jar or library 7 58
junit example issue 2 57
Website checklist for browser compatibility? 2 57
Java had always been an easily readable and understandable language.  Some relatively recent changes in the language seem to be changing this pretty fast, and anyone that had not seen any Java code for the last 5 years will possibly have issues unde…
In this post we will learn how to make Android Gesture Tutorial and give different functionality whenever a user Touch or Scroll android screen.
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…
This video teaches viewers about errors in exception handling.
Suggested Courses

738 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