jaxb 2.1.3 looking for jaxb.properties

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?

[907 byte] By [Abu-Rasheeda] at [2007-11-27 1:55:17]
# 1

hi i got the same problem and create the new jaxb.property file with the main.java package and placed the following line

javax.xml.bind.context.factory=com.sun.xml.bind.ContextFactory

in the property file, then it didn't given any exception related to unable to locate jaxb.properties.

i hope this would work fine.

kalyan_srikara at 2007-7-12 1:28:03 > top of Java-index,Enterprise & Remote Computing,Enterprise Technologies...