Reputation: 1736
I'm seeing the same issue as posted in this thread NoSuchMethodError org.apache.http.conn.scheme.Scheme
I would like to use httpclient-4.2.5 and tried using an isolated shared library as suggested in the previous post. (shared library was associated to the app, 2 jars (httpclient-4.2.5.jar and httpcore-4.2.4.jar) were added to the shared lib)
However, it seems to still be loading some classes from com.ibm.ws.prereq.jaxrs.jar
Is there a step I'm missing in setting up the shared lib?
Upvotes: 0
Views: 3194
Reputation: 18020
You need both settings - isolated shared library and PARENT_LAST classloader setting to use your own httpclient libraries.
PARENT_LAST is required to override classes provided by the server.
Upvotes: 1