Page 1 of 1

Unable to deploy Docx4j to Wildfly 8.2

PostPosted: Tue Apr 07, 2015 12:50 am
by vaughnmb
I am getting this error:

org.docx4j.openpackaging.exceptions.Docx4JException: Error marshalling Content_Types
Caused by: java.lang.NullPointerException at org.docx4j.jaxb.NamespacePrefixMapperUtils.setProperty(NamespacePrefixMapperUtils.java:155)


I am using docx4j 3.2.1 and JAXBNamespacePrefixMapper-2.2.4 are deployed in my ear.

Here is my jboss-deployment-structure.xml file.
<jboss-deployment-structure xmlns="urn:jboss:deployment-structure:1.1">
<deployment>
<dependencies>
<module name="com.sun.xml.bind" />
<module name="javax.xml.bind.api" />
</dependencies>
</deployment>
</jboss-deployment-structure>


What am I doing wrong?

Re: Unable to deploy Docx4j to Wildfly 8.2

PostPosted: Fri Nov 03, 2017 4:38 am
by Lou1977
I have the same problem. Is there a solution?

Re: Unable to deploy Docx4j to Wildfly 8.2

PostPosted: Sat Nov 04, 2017 5:00 am
by jason
This belongs in jboss-f29/jboss-7-config-t1678.html

(I will move it there in coming days)

You don't want JAXBNamespacePrefixMapper-2.2.4 (or any other version of this).