Hi,
I am using docx4j 2.7.1 on a Linux x86_64. environment running weblogic 10.3. The java runtime is 1.6.0_25.
When loading the docx document with embedded image, I saw the following exception in the log.
java.lang.NoClassDefFoundError: Could not initialize class org.docx4j.openpackaging.parts.WordprocessingML.ImagePngPart at org.docx4j.openpackaging.contenttype.ContentTypeManager.newPartForContentType(ContentTypeManager.java:365) at org.docx4j.openpackaging.contenttype.ContentTypeManager.getPart(ContentTypeManager.java:267) at org.docx4j.openpackaging.io.LoadFromZipNG.getRawPart(LoadFromZipNG.java:519) at
I saw a similar question ask here:
docx-java-f6/exception-trying-to-load-document-t995.htmlI have also confirmed that the classpath has the required jars (including xml-graphics-commons-1.4.jar) ...