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
  • 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

Master Your Team's Linux and Cloud Stack

Come see why top tech companies like Mailchimp and Media Temple use Linux Academy to build their employee training programs.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
jar file executable 12 51
oracle 11g 23 73
varialbe initialization 11 32
MySQL  on Tomcat 8 43
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 …
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 learn about the “for” loop and how it works in Java. By comparing it to the while loop learned before, viewers can make the transition easily. You will learn about the formatting of the for loop as we write a program that prints even numbers…
Viewers will learn how to properly install Eclipse with the necessary JDK, and will take a look at an introductory Java program. Download Eclipse installation zip file: Extract files from zip file: Download and install JDK 8: Open Eclipse and …

813 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

16 Experts available now in Live!

Get 1:1 Help Now