This week's book giveaway is in the Clojure forum.
We're giving away four copies of Clojure in Action and have Amit Rathore and Francis Avila on-line!
See this thread for details.
Win a copy of Clojure in Action this week in the Clojure forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

serialVersionUID error message when executing swing based application from netbeans

 
Vinit Gaba
Greenhorn
Posts: 7
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator

I am executing a swing base application from Netbeans and have got below error message. Any Idea, please help to know.

System Error: #5000001: java.io.InvalidClassException: com.matrixone.apps.domain.util.MapList; local class incompatible: stream classdesc serialVersionUID = 2137290906967962447, local class serialVersionUID = -3551146439161972187

Thanks,
Vinit
 
Rob Spoor
Sheriff
Pie
Posts: 20381
46
Chrome Eclipse IDE Java Windows
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Your class file has changed since you serialized it. Unless you've added, removed or changed non-transient fields, you can solve this by adding a private static final long serialVersionUID field to your class. You can let your IDE generate it for you, or use the serialver executable inside your JDK's bin folder.
 
I agree. Here's the link: http://aspose.com/file-tools
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic