Hello,
I'm new to docx4j and I have a problem.
I managed to create a project, using docx4j (HTML+CSS -> PDF,DOCX). Everything worked fine.
But after deploying (CQ5) i recieve this error message and makes me mad for 4 days.
Could not initialize class org.docx4j.openpackaging.packages.WordprocessingMLPackage java.lang.NoClassDefFoundError: Could not initialize class org.docx4j.openpackaging.packages.WordprocessingMLPackage
at com.mycomp.cq.workflow.CreatePdf.execute(CreatePdf.java:76)
at com.day.cq.workflow.impl.job.HandlerBase.executeProcess(HandlerBase.java:184)
at com.day.cq.workflow.impl.job.JobHandler.process(JobHandler.java:112)
at org.apache.sling.event.jobs.JobUtil$1.run(JobUtil.java:272)
at java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown Source)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source)
at java.lang.Thread.run(Unknown Source)
This statement throws the error :
WordprocessingMLPackage wordMLPackage = WordprocessingMLPackage.createPackage();
Help plz!