NoSuchMethodError: org.apache.http.conn.ssl.SSLConnectionSocketFactory NoSuchMethodError: org.apache.http.conn.ssl.SSLConnectionSocketFactory apache apache

NoSuchMethodError: org.apache.http.conn.ssl.SSLConnectionSocketFactory


Assuming your project is built with Maven, adding this to your pom.xml should take care of that issue:

<dependency>  <groupId>org.apache.httpcomponents</groupId>  <artifactId>httpclient</artifactId>  <version>4.5.2</version></dependency>