Hi Kohsuke,
I am curious as to whether I generated my classes wrong. I generated the classes using >xjc.bat -xmlschema discover.xsd -d src -p agilent.dev.ne This is the same package name that I supply in the newInstance call. After your last message I recheck my CLASSPATH to make sure everything was correct and rebuilt all of the classes. Do I need to supply a specific class in my context path string?
Dwayne
-----Original Message-----
From: Kohsuke Kawaguchi [mailto:Kohsuke.Kawaguchi_at_Sun.COM]
Sent: Tuesday, June 24, 2003 4:14 PM
To: JAXB-INTEREST_at_JAVA.SUN.COM
Subject: Re: IncompatibleClassChangeError When Creating Unmarshaller
The error message doesn't even tell which class is causing the problem,
so it's hard to know what's wrong with it.
I guess as the general principle, when you see an
IncompatibleClassChangeError, it usually means classes you used to
compile and classes you put in the classpath are different.
regards,
--
Kohsuke Kawaguchi 408-276-7063 (x17063)
Sun Microsystems kohsuke.kawaguchi_at_sun.com