First, use maven to add docx4j-JAXB-ReferenceImpl as a dependency
Second, create src/main/webapp/WEB-INF/jboss-deployment-structure.xml containing
Using xml Syntax Highlighting
<jboss-deployment-structure>
<deployment>
<dependencies>
<module name="com.sun.xml.bind" />
</dependencies>
</deployment>
</jboss-deployment-structure>
<deployment>
<dependencies>
<module name="com.sun.xml.bind" />
</dependencies>
</deployment>
</jboss-deployment-structure>
Parsed in 0.001 seconds, using GeSHi 1.0.8.4
See further https://access.redhat.com/solutions/4284651
We have tested/confirmed this config on EAP 7.2.9, 7.3, 7.3.3 and WildFly 20.0.1
There is no need to make any system-wide config change.