I am looking for a jar alternative for commons-httpclient-3.1.jar.
It contains a java class called ProtocolSocketFactory.
ProtocolSocketFactory class is not present in httpclient4 or httpclient5.
ProtocolSocketFactory particular class is referenced in opensaml-2.6.6.jar.
DefaultBootstrap.bootstrap();
As you can see it is referencing ProtocolSocketFactory from commons-httpclient-3.1.jar. 
Any way to fix this issue related to commons-httpclient-3.1.jar whereby, i can remove the jar and still make opensaml work with some alternative to commons-httpclient.
2Related questions 7 Apache HttpClient throws a NoClassDefFoundError 15 HttpClient NoClassDefFoundError 4 NoClassDefFoundError with simple Apache HttpClient Eclipse project Related questions 7 Apache HttpClient throws a NoClassDefFoundError 15 HttpClient NoClassDefFoundError 4 NoClassDefFoundError with simple Apache HttpClient Eclipse project 1 java.lang.NoClassDefFoundError: org/apache/http/HttpEntity 2 "main" java.lang.NoClassDefFoundError: org/apache/http/HttpEntity 5 java.lang.NoClassDefFoundError: org/apache/http/conn/HttpClientConnectionManager 0 org.apache.http.client-4.3.6: java.lang.NoClassDefFoundError: org.apache.http.impl.conn.PoolingHttpClientConnectionManager 0 org.apache.http.conn.ssl.SSLConnectionSocketFactory not found within HttpClientBuilder.build() 8 Java 9 HttpClient java.lang.NoClassDefFoundError: jdk/incubator/http/HttpClient 4 Error: NoClassDefFoundError: org/apache/commons/logging/LogFactory Load 7 more related questions Show fewer related questions
Reset to default
