Hi,
I'm trying to use docx4j for some templating. I've attatched the word document I use.. whenever I try to load the document using WordprocessingMLPackage.load, I get the following error:
org.docx4j.openpackaging.exceptions.Docx4JException: Couldn't get [Content_Types].xml from ZipFile
at org.docx4j.openpackaging.io3.Load3.get(Load3.java:134)
at org.docx4j.openpackaging.packages.OpcPackage.load(OpcPackage.java:459)
at org.docx4j.openpackaging.packages.OpcPackage.load(OpcPackage.java:376)
at org.docx4j.openpackaging.packages.OpcPackage.load(OpcPackage.java:342)
at org.docx4j.openpackaging.packages.OpcPackage.load(OpcPackage.java:307)
at org.docx4j.openpackaging.packages.WordprocessingMLPackage.load(WordprocessingMLPackage.java:174)
at org.CCInc.Psyc.Report.getTemplate(Report.java:65)
at org.CCInc.Psyc.Report.access$0(Report.java:64)
at org.CCInc.Psyc.Report$CitizenshipReport.GenerateReport(Report.java:47)
at org.CCInc.Psyc.Windows.MySurvey$1.actionPerformed(MySurvey.java:49)
at javax.swing.AbstractButton.fireActionPerformed(Unknown Source)
at javax.swing.AbstractButton$Handler.actionPerformed(Unknown Source)
at javax.swing.DefaultButtonModel.fireActionPerformed(Unknown Source)
at javax.swing.DefaultButtonModel.setPressed(Unknown Source)
at javax.swing.plaf.basic.BasicButtonListener.mouseReleased(Unknown Source)
at java.awt.Component.processMouseEvent(Unknown Source) ...