users@jaxb.java.net

Re: Error creating unmarhsaller

From: Phil Haigh <phil_at_haigh-family.com>
Date: Fri, 14 Mar 2003 14:01:23 +0000

Ed,

After a long delay I can tell you we solved the problem - it was an
out-of-date JAR file inside OC4J 9.0.2 (which searches for libraries in
the wrong order)

Phil.

-----Original Message-----
From: Discussion list for the Java Architecture for XML Binding
[mailto:JAXB-INTEREST_at_JAVA.SUN.COM] On Behalf Of Ed Mooney
Sent: 26 February 2003 13:52
To: JAXB-INTEREST_at_JAVA.SUN.COM
Subject: Re: Error creating unmarhsaller

Hi Phil,

Could you send along a stack trace?

Regards,
--
Ed Mooney         |Sun Microsystems, Inc.|Time flies like
Java Web Services |UBUR02-201            |an arrow, but
Ed.Mooney_at_Sun.COM |1 Network Drive       |fruit flies like
781-442-0459      |Burlington, MA  01803 |a banana. Groucho
Phil Haigh wrote:
> Can anyone help with this one?
>
> I have the following code:
>
> JAXBContext jc = JAXBContext.newInstance
>   ("com.perceptive.impact.framework.database.locking");
> Unmarshaller u = jc.createUnmarshaller();
>
> com.perceptive.impact.framework.database.locking is the package into
which my JAXB objects were generated.
>
> The first line executes successfully (but takes a good 30-45 seconds).
The second line does not execute successfully; I receive an
IncompatibleClassChangeError exception.
>
> Why would I get this error, and how do I fix it?