I'm trying to use Ghost4J in a demo project and included the library in my pom.xml.
Everytime Ghost4J tries to access IOUtils of org.apache.commons.io
a NoClassDefFoundError
is thrown although commons-io.jar is included in the fatjar generated by maven.
I already tried putting org.apache.commons.io
in a jboss-deployment-structure.xml
like this
<jboss-deployment-structure xmlns="urn:jboss:deployment-structure:1.3">
<deployment>
<dependencies>
<module name="org.apache.commons.io" export="true" services="export"/>
</dependencies>
</deployment>
</jboss-deployment-structure>
I pushed the code to GitHub: https://github.com/crumohr/swarm-ghost4j