dev@jaxb.java.net

jaxb 2.1.3 looking for jaxb.properties

From: glasscat <aburasheed_at_studentmasjid.com>
Date: Sun, 22 Apr 2007 12:52:37 -0700 (PDT)

I'm trying to use JAXB 2.1.3 with Sun Appserver 8.2, and I'm getting error
saying jaxb.properties missing. I thought JAXB 2.X no longer create
jaxb.properties.

I have the following jars included in my webapp:
jaxb-api.jar
jaxb-impl.jar

javax.xml.bind.JAXBException: Unable to locate jaxb.properties for package
org.studentmasjid.quran.service.generated
at javax.xml.bind.ContextFinder.searchcontextPath(ContextFinder.java:205)
at javax.xml.bind.ContextFinder.find(ContextFinder.java:149)
at javax.xml.bind.JAXBContext.newInstance(JAXBContext.java:281)


                JAXBContext jc =
JAXBContext.newInstance("org.studentmasjid.quran.service.generated",
this.getClass().getClassLoader());
                Unmarshaller um = jc.createUnmarshaller();
                Verses tc = (Verses)
um.unmarshal(uploadedFile.getInputStream());



I'm I missing something?
-- 
View this message in context: http://www.nabble.com/jaxb-2.1.3-looking-for-jaxb.properties-tf3627347.html#a10128679
Sent from the java.net - jaxb dev mailing list archive at Nabble.com.