- Code: Select all
####<Sep 6, 2013 2:42:57 PM EDT> ... <<WLS Kernel>> xxxx.DocxManipulator getMainDocumentPart
SEVERE: null
org.docx4j.openpackaging.exceptions.InvalidFormatException: Bad [Content_Types].xml
at org.docx4j.openpackaging.contenttype.ContentTypeManager.parseContentTypesFile(ContentTypeManager.java:699)
at org.docx4j.openpackaging.io.LoadFromZipNG.process(LoadFromZipNG.java:206)
at org.docx4j.openpackaging.io.LoadFromZipNG.get(LoadFromZipNG.java:193)
at org.docx4j.openpackaging.packages.OpcPackage.load(OpcPackage.java:301)
at org.docx4j.openpackaging.packages.OpcPackage.load(OpcPackage.java:245)
at org.docx4j.openpackaging.packages.OpcPackage.load(OpcPackage.java:195)
at org.docx4j.openpackaging.packages.OpcPackage.load(OpcPackage.java:178)
at org.docx4j.openpackaging.packages.WordprocessingMLPackage.load(WordprocessingMLPackage.java:172)
at xxxx.getMainDocumentPart(DocxManipulator.java:829)
Caused by: java.lang.ClassCastException: org.docx4j.openpackaging.contenttype.CTTypes cannot be cast to javax.xml.bind.JAXBElement
at org.docx4j.openpackaging.contenttype.ContentTypeManager.parseContentTypesFile(ContentTypeManager.java:674)
... 11 more>
I did use Eclipse Link to 2.5 per http://www.docx4java.org/forums/weblogic-f25/how-to-update-to-eclipselink-2-5-in-web-t1574.html. I replaced racle_common\modules\oracle.toplink_12.1.2\eclipselink.jar because deploying it as a Shared Library kept giving me referenced library not found regardless of what I did (and my weblogic.xml and eclipselink ear manifest match)
**EDIT: WL 12c (12.1.2.0.0) actually came with a later Eclipse Link 4.2, which was released on July 4 2013, after 2.5 was released on May 28, 2013.