Hi,

I'm just guessing what could be happening.
Please, check the following items:
- Before unmarshalling:
JAXBContext context = JAXBContext.newInstance("com.optum.www.movexml.ProductMaster");
Unmarshaller unmarshaller = context.createUnmarshaller();
- If you have the object you want to unmarshall to in the package: com.optum.www.movexml.ProductMaster
- If the ObjectFactory.java makes: newInstance("com.optum.www.movexml.ProductMaster");


Ask again if this doesn't work.

Regards,

Carol


Bharani Palanisamy wrote:

Hi,
I am trying to Unmarshall an XML document and got the following error.
The jaxb.properties file is located in the directory where is was created.
I am using Sun ONE Studio 4.
java.version = 1.4.2_03
What should I do to overcome this error?
Thanks
Bharani..
javax.xml.bind.JAXBException: Failed to resolve resource jaxb.properties via path com.optum.www.movexml.ProductMaster and ClassLoader [EMAIL PROTECTED] <mailto:[EMAIL PROTECTED]>
at javax.xml.bind.JAXBContext.newInstance(JAXBContext.java:210)
at javax.xml.bind.JAXBContext.newInstance(JAXBContext.java:114)
at com.optum.www.movexml.PMRead.getProductMaster(PMRead.java:24)
at com.optum.www.movexml.PMRead.main(PMRead.java:43)
Exception in thread "main" 




---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Reply via email to