java.io.InvalidClassException: com.izforge.izpack.api.data.Pack; local class incompatible: stream classdesc serialVersionUID = -7841139470853935196, local class serialVersionUID = -8210246855986030287

JIRA | Tony Sandin | 10 months ago
tip
Click on the to mark the solution that helps you, Samebug will learn from it.
As a community member, you’ll be rewarded for you help.
  1. 0

    When I include the <jar> tag with my jar library I get an exception. If I remove the tag it does not happens. Exception: SEVERE: org.picocontainer.PicoCompositionException: java/lang.reflect.InvocationTargetException I tried compiling the JAR with different versions with no luck.

    JIRA | 10 months ago | Tony Sandin
    java.io.InvalidClassException: com.izforge.izpack.api.data.Pack; local class incompatible: stream classdesc serialVersionUID = -7841139470853935196, local class serialVersionUID = -8210246855986030287

    Root Cause Analysis

    1. java.io.InvalidClassException

      com.izforge.izpack.api.data.Pack; local class incompatible: stream classdesc serialVersionUID = -7841139470853935196, local class serialVersionUID = -8210246855986030287

      at java.io.ObjectStreamClass.initNonProzy()
    2. Java RT
      ObjectStreamClass.initNonProzy
      1. java.io.ObjectStreamClass.initNonProzy(ObjectStreamClass.java:616)
      1 frame