I\'m having a heck of a time getting a pooling connection manager to work for Resteasy clients. Deploying on Wildfly 8.1.
import org.apache.http.client.HttpC
Jars in the modules directory are mostly shielded from you and are there for the use of the server implementation. Exceptions are those that expose the Java EE APIs.
The easiest solution for you is to just include this jar in your application.
Alternatively, you could compose a jboss-deployment-structure.xml file as described in Class Loading in WildFly.
For example:
<?xml version="1.0" encoding="UTF-8"?>
<jboss-deployment-structure xmlns="urn:jboss:deployment-structure:1.2">
<deployment>
<dependencies>
<module name="org.apache.httpcomponents"/>
</dependencies>
</deployment>
</jboss-deployment-structure>