JAX-RS applications get the resteasy-jaxrs module implicitly added, exporting org.apache.httpcomponents from it causes the application to not be able to use its packaged version of apache http components.