I have IBM WAS 8.5.5.0 and I have to use java project with apache httpcore and httpclietn jar with 4.4.1 version. It works. But when I try to deploy on my app server I face some problems.
java.lang.NoSuchFieldError: org/apache/http/conn/ssl/AllowAllHostnameVerifier.INSTANCE
I've already get that this error occures when there are two version of one jar file. So I created a shared library with isolated class loader and parent_last. Reloaded and redeployed my app. But I still have this error.
Am I missing something?
1) Should this 4.4.1 jars be added in build path in my project?
2) When I create my shared library does it matter where should I put my jar files (fro class path)?
3) Should I put jars in libs/ext folder? (I suppose not)
4) May version of WAS 8.5.5.0 be the problem?