java.lang.NoSuchFieldError:在org.apache.http.conn.ssl.SSLConnectionSocketFactory

时间:2018-02-15 09:13:42

标签: java apache-commons-httpclient

我尝试通过我的平台发送短信但我收到此错误:

引起:java.lang.NoSuchFieldError:INSTANCE     at org.apache.http.conn.ssl.SSLConnectionSocketFactory。(SSLConnectionSocketFactory.java:146)     在org.apache.http.impl.client.HttpClientBuilder.build(HttpClientBuilder.java:966)     在org.apache.http.impl.client.HttpClients.createDefault(HttpClients.java:56)

错误处于此级别:

 CloseableHttpClient httpclient = HttpClients.createDefault();

HttpGet httpGet = null; CloseableHttpResponse response = null; HttpEntity entity = null;</pre>

0 个答案:

没有答案