我们正在进行http url调用,但请求未通过。相反,它抛出 低于Websphere 8.5中的错误。
相同的代码适用于Websphere 7版本。如果在Websphere 7和8 / 8.5版本之间发出http请求有任何不同,请告诉我。
[7/15/15 12:04:46:581 EDT] 000000c5 SystemOut O exc2:::null::org/apache/http/conn/ssl/AllowAllHostnameVerifier.INSTANCE
[7/15/15 11:24:04:211 EDT] 0000009b SystemErr R java.lang.NoClassDefFoundError: org.apache.http.conn.ssl.SSLConnectionSocketFactory (initialization failure)
[7/15/15 11:24:04:211 EDT] 0000009b SystemErr R at java.lang.J9VMInternals.initialize(J9VMInternals.java:175)
[7/15/15 11:24:04:212 EDT] 0000009b SystemErr R at org.apache.http.impl.client.HttpClientBuilder.build(HttpClientBuilder.java:912)
[7/15/15 11:24:04:212 EDT] 0000009b SystemErr R at org.apache.http.impl.client.HttpClients.createDefault(HttpClients.java:58)
答案 0 :(得分:1)
WAS8.5附带自己版本的Apache HTTP客户端 https://www.ibm.com/developerworks/community/forums/html/topic?id=77777777-0000-0000-0000-000014853459
您可能想尝试从服务器加载父类 或者尝试使用IBM jars