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

JIRA | Tony Sandin | 1 year ago
tip
Your exception is missing from the Samebug knowledge base.
Here are the best solutions we found on the Internet.
Click on the to mark the helpful solution and get rewards 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 | 1 year 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