users@jaxb.java.net

Re: Error creating unmarhsaller

From: Ed Mooney <Ed.Mooney_at_Sun.COM>
Date: Wed, 26 Feb 2003 08:52:17 -0500

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?