ws-jaxme-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Carolina Antón <gla...@teleline.es>
Subject Re: javax.xml.bind.JAXBException: Failed to resolve resource jaxb.properties
Date Wed, 02 Feb 2005 18:58:18 GMT
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 sun.misc.Launcher$AppClassLoader@1813fac 
> <mailto:sun.misc.Launcher$AppClassLoader@1813fac>
>         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: jaxme-dev-unsubscribe@ws.apache.org
For additional commands, e-mail: jaxme-dev-help@ws.apache.org


Mime
View raw message