I'm using Eclipse, with jdk6, and docx4j nightly build 20100630 jar.
The following gets printed to the console:
log4j:WARN No appenders could be found for logger (org.docx4j.openpackaging.parts.PartName).
log4j:WARN Please initialize the log4j system properly.
log4j:WARN See http://logging.apache.org/log4j/1.2/faq.html#noconfig for more info.
JAXB: RI not present. Trying Java 6 implementation.
JAXB: Using Java 6 implementation.
and then i get:
Thread [main] (Suspended (exception NoClassDefFoundError))
ContextFinder.handleInvocationTargetException(InvocationTargetException) line: not available
ContextFinder.newInstance(String, String, ClassLoader, Map) line: not available
ContextFinder.find(String, String, ClassLoader, Map) line: not available
JAXBContext.newInstance(String, ClassLoader, Map<String,?>) line: not available
JAXBContext.newInstance(String, ClassLoader) line: not available
Context.<clinit>() line: 69
MainPresentationPart(JaxbXmlPart<E>).<init>(PartName) line: 66
MainPresentationPart(JaxbPmlPart<E>).<init>(PartName) line: 75
MainPresentationPart.<init>() line: 47
PresentationMLPackage.createPackage() line: 141
NewPresentation.main(String[]) line: 27
How do I resolve this?