users@jaxb.java.net

serial UID mismatch

From: Kathleen DiDomenico <kdidomenico_at_hotmail.com>
Date: Mon, 10 Feb 2003 14:22:12 -0700

hi. When I run
         JAXBContext jc = JAXBContext.newInstance( "primer.po" );
from the tutorial I get the following stackTrace. I have tried it with different xsd files and different packages.

Any idea what this is?

Thanks,
Kathleen

java.lang.reflect.InvocationTargetException: java.lang.InternalError: com.sun.msv.datatype.xsd.XSDat
atypeImpl; Local class not compatible: stream classdesc serialVersionUID=-6807414618091372945 local
class serialVersionUID=3812747094843142778
        at com.sun.xml.bind.validator.SchemaDeserializer.deserialize(SchemaDeserializer.java:28)
        at primer.po.impl.PurchaseOrderTypeImpl.<clinit>(PurchaseOrderTypeImpl.java:20)
        at java.lang.Class.forName0(Native Method)
        at java.lang.Class.forName(Unknown Source)
        at primer.po.ObjectFactory.class$(ObjectFactory.java:11)
        at primer.po.ObjectFactory.<clinit>(ObjectFactory.java:18)
        at java.lang.Class.forName0(Native Method)
        at java.lang.Class.forName(Unknown Source)
        at com.sun.xml.bind.GrammarInfoFacade.createGrammarInfoFacade(GrammarInfoFacade.java:98)
        at com.sun.xml.bind.DefaultJAXBContextImpl.<init>(DefaultJAXBContextImpl.java:61)
        at com.sun.xml.bind.ContextFactory.createContext(ContextFactory.java:27)
        at java.lang.reflect.Method.invoke(Native Method)
        at javax.xml.bind.ContextFinder.newInstance(ContextFinder.java:99)
        at javax.xml.bind.ContextFinder.searchcontextPath(ContextFinder.java:200)
        at javax.xml.bind.ContextFinder.find(ContextFinder.java:126)
        at javax.xml.bind.JAXBContext.newInstance(JAXBContext.java:274)
        at javax.xml.bind.JAXBContext.newInstance(JAXBContext.java:231)
        at Main.main(Main.java:72)