I'm getting
javax.xml.bind.JAXBException: "org.example.mypackage" doesnt contain ObjectFactory.class or jaxb.index
while trying to create a JAXBContext
using JAXBContext.newInstance(String contextPath)
. I'm guessing there's a "usual" way to create and maintain a jaxb.index file.
Foo
would be class name andcom.a.b.c.Foo
would be fully qualified class name. – Koo