Hello,
I have a problems with resteasy and my wildfly.36-0.1.
I've developped a war, some of its functionalities are basicaly just a rest client.
I've use the next dependencies :
<jboss-deployment-structure xmlns="urn:jboss:deployment-structure:1.0">
<deployment>
<dependencies>
<module name="com.oracle.adf"/>
<module name="org.apache.commons"/>
<module name="com.siveco.loginmodules" />
<module name="org.jboss.as.controller-client" />
<module name="org.jboss.dmr" />
<module name="org.jboss.remoting" />
<module name="org.quartz"/>
<module name="jakarta.faces.api" slot="jakarta.faces-3.0.5"/>
<module name="jakarta.faces.impl" slot="jakarta.faces-3.0.5"/>
<module name="net.bull.javamelody" />
<module name="jakarta.ws.rs.api"/>
<module name="jakarta.servlet.api"/>
<module name="org.codehaus.jettison"/>
</dependencies>
</deployment>
</jboss-deployment-structure>
When I compile, I've added the right librairies.
But at runtime i've encounter the next error.
java.lang.NoClassDefFoundError: org/apache/http/client/HttpClient
The only way that i make this work is when i add the line
<module name="org.apache.httpcomponents.core"/>
inside the
<WF_INSTALL>/modules/system/layers/base/org/jboss/resteasy/resteasy-client/main/
I don't understand why the classes in httpcomponents.core are not accessible for the resteasy-client.
Does anyone have a clue about this behaviour?
Thanks in advance for your answers.
Regards,
Adrien B.