users@jaxb.java.net

Re: Error Creating unmarshaller

From: Sriram Thyagarajan <Sriram_Thyagarajan_at_KEANE-NNE.com>
Date: Wed, 12 Mar 2003 09:12:21 -0500

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