I get following error when executing on jboss :
WordprocessingMLPackage template = WordprocessingMLPackage
.load(new FileInputStream(new File(name)));
- Java version: 1.7.0_25
- JBoss version: 7.1.1.Final
- docx4j version: 2.8.1
Error: java.lang.NoClassDefFoundError: Could not initialize class org.docx4j.jaxb.Context
I know there is already a question regarding this issue, but no answer was given and seems like the question was left behind.