I was able to successfully create a simple project with docx4j ( http://www.docx4java.org ). This simple project successfully created and wrote on a .docx document. Now I
I assume you are using Java 7. I was able to solve this issue with JBoss EAP 6.2 running on
java version "1.7.0_55"
OpenJDK Runtime Environment (IcedTea 2.4.7) (7u55-2.4.7-1ubuntu1~0.13.10.1)
OpenJDK 64-Bit Server VM (build 24.51-b03, mixed mode)
Define following JBoss module:
Add dependency on this module to your WEB-INF/jboss-deployment-structure.xml.