users@jaxb.java.net

Re: Error creating unmarhsaller

From: Sriram Thyagarajan <Sriram_Thyagarajan_at_KEANE-NNE.com>
Date: Tue, 11 Mar 2003 15:10:01 -0500

Was there any solution for this problem. I am getting a
"java.lang.NoClassDefFoundError:
com.sun.xml.bind.unmarshaller.UnmarshallerImpl " while creating the
Unmarshaller.

-----Original Message-----
From: Ed Mooney [mailto:Ed.Mooney_at_Sun.COM]
Sent: Wednesday, February 26, 2003 8:52 AM
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?