Improve company productivity with a Business Account.Sign Up

x
  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 282
  • Last Modified:

Problem with Netbeans/Tomcat: SEVERE Error

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
go4java
Asked:
go4java
  • 2
2 Solutions
 
Ajay-SinghCommented:
try adding the following to the class com.fujitsu.fme.pride.Tools


private static final long serialVersionUID = 9071843829692306762L;
0
 
enachemcCommented:
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
 
enachemcCommented:
The value does not matter. It should be different from one version to another version.
0
 
go4javaAuthor Commented:
resolved when moving JAR to another platform, seems to be local configuration of tomcat/netbeans.
0
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

Join & Write a Comment

Featured Post

Get your problem seen by more experts

Be seen. Boost your question’s priority for more expert views and faster solutions

  • 2
Tackle projects and never again get stuck behind a technical roadblock.
Join Now