I am trying to run docx4j on the wildfyl-10 server. I always get the following exceptions:
> INFO org.docx4j.jaxb.Context - java.vendor=Oracle Corporation
> INFO org.docx4j.jaxb.Context - java.version=1.8.0_91
> INFO org.docx4j.jaxb.Context - No MOXy JAXB config found; assume not intended..
> WARN org.docx4j.jaxb.NamespacePrefixMapperUtils - name: com.sun.xml.internal.bind.namespacePrefixMapper value:
> org.docx4j.jaxb.NamespacePrefixMapperSunInternal@5ac63c7a .. trying
> RI.
> INFO org.docx4j.jaxb.NamespacePrefixMapperUtils - Using NamespacePrefixMapper, which is suitable for the JAXB RI
> INFO org.docx4j.jaxb.Context - Using JAXB Reference Implementation
> INFO org.docx4j.jaxb.Context - Not using MOXy; using com.sun.xml.bind.v2.runtime.JAXBContextImpl
> WARN org.docx4j.utils.ResourceUtils - Couldn't get resource: docx4j.properties
> WARN org.docx4j.Docx4jProperties - Couldn't find/read docx4j.properties; docx4j.properties not found via classloader.
> INFO org.docx4j.XmlUtils - setProperty com.sun.org.apache.xerces.internal.jaxp.SAXParserFactoryImpl
> INFO org.docx4j.XmlUtils - actual: com.sun.org.apache.xerces.internal.jaxp.SAXParserFactoryImpl
> INFO org.docx4j.XmlUtils - setProperty com.sun.org.apache.xerces.internal.jaxp.DocumentBuilderFactoryImpl
> INFO org.docx4j.XmlUtils - actual: com.sun.org.apache.xerces.internal.jaxp.DocumentBuilderFactoryImpl
> INFO org.docx4j.openpackaging.contenttype.ContentTypeManager - Detected WordProcessingML package
> INFO org.docx4j.openpackaging.io3.Load3 - Instantiated package of type org.docx4j.openpackaging.packages.WordprocessingMLPackage
> INFO org.docx4j.utils.XPathFactoryUtil - xpath implementation: __redirected.__XPathFactory
> INFO org.docx4j.openpackaging.io3.Load3 - package read; elapsed time: 3269 ms
> WARN org.docx4j.jaxb.NamespacePrefixMapperUtils - name: com.sun.xml.internal.bind.namespacePrefixMapper value:
> org.docx4j.jaxb.NamespacePrefixMapperRelationshipsPartSunInternal@63f5c9a4
> .. trying RI.
> INFO org.docx4j.jaxb.NamespacePrefixMapperUtils - Using NamespacePrefixMapperRelationshipsPart, which is suitable for the JAXB
> RI
module on wildfly:
<module xmlns="urn:jboss:module:1.3" name="org.docx4j">
<resources>
<resource-root path="antlr-runtime-3.5.2.jar"/>
....
<resource-root path="docx4j-ImportXHTML-3.3.1.jar"/>
</resources>
<dependencies>
<module name="org.antlr"/>
<module name="sun.jdk"/>
<system export="true">
<paths>
<path name="com/sun/xml/internal/bind/marshaller"/>
</paths>
</system>
<module name="javax.xml.bind.api"/>
<module name="javax.api"/>
<module name="com.sun.xml.bind" />
</dependencies>
</module>
jboss-deployment on ear:
<jboss-deployment-structure xmlns="urn:jboss:deployment-structure:1.3">
<sub-deployment name="Be.jar">
<dependencies>
<module name="com.sun.xml.bind" />
<module name="org.docx4j" export="true" />
</dependencies>
</sub-deployment>
</jboss-deployment-structure>
none of the solutions proposed for the earlier versions of the server appears to be working. Does anyone have an idea?