users@jaxb.java.net

Re: Error Creating unmarshaller

From: Ed Mooney <Ed.Mooney_at_sun.com>
Date: Thu, 13 Mar 2003 14:21:56 -0500

Hi Sriram,

It's just that the exception contradicts your assertion that all the
jaxb libraries are in the path. UnmarshallerImpl is in jaxb-ri.jar.
JAXBContext is in jaxb-api.jar.

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
Sriram Thyagarajan wrote:
> Am I doing something obivisouly wrong that no one has replied -:) ?
>
> Thanks
>
> -----Original Message-----
> From: Sriram Thyagarajan
> Sent: Tuesday, March 11, 2003 2:57 PM
> To: 'Discussion list for the Java Architecture for XML Binding'
> Subject: Error Creating unmarshaller
>
>
> I am getting the following error
>
> javax.transaction.TransactionRolledbackException:
> java.lang.NoClassDefFoundError
> : com.sun.xml.bind.unmarshaller.UnmarshallerImpl
>
>
> The code...
>
>       JAXBContext jc =
> JAXBContext.newInstance("bmv.interfaces.dhs.xmlRef.data",
>           new JAXBClassLoader());
>
>       // create an Unmarshaller
>        Unmarshaller u = jc.createUnmarshaller();
>
>
> the call to newInstance worked fine....
>
> The call to createUnMarshaller created this error
>
>
> All the jaxb libraries are in the path...
>
> Has anyone encountered this error ? any solutions ?
>
> Thanks,
> Sriram