I'm upgrading from JAXB 1.0 to 2.1.1 and am getting this error when
attempting to create a JAXBContext for marshalling/unmarshalling.
[junit] javax.xml.bind.JAXBException: Provider
com.sun.xml.bind.ContextF
actory_1_0_1 not found
[junit] - with linked exception:
[junit] [java.lang.ClassNotFoundException:
com.sun.xml.bind.ContextFactory_1
_0_1]
[junit] at
javax.xml.bind.ContextFinder.newInstance(ContextFinder.java:1
51)
[junit] at javax.xml.bind.ContextFinder.find(ContextFinder.java:257)
[junit] at
javax.xml.bind.JAXBContext.newInstance(JAXBContext.java:372)
[junit] at
javax.xml.bind.JAXBContext.newInstance(JAXBContext.java:337)
[junit] at
javax.xml.bind.JAXBContext.newInstance(JAXBContext.java:244)
[junit] at com.*.*.*.util.JaxbUtils.unmarshall(JaxbUtils.java:64)
I've removed all 'jaxb.properties' files and have verified that I'm
generating 2.1.1 jaxb classes from the XSD's I have. I'm at a loss as to
what could be causing this.
Thanks,
Mike
--
View this message in context: http://www.nabble.com/ContextFactory_1_0_1-tf3724336.html#a10422221
Sent from the java.net - jaxb users mailing list archive at Nabble.com.