java.lang.NoSuchMethodError: org.apache.http.conn.ssl.SSLConnectionSocketFactory.<init>(Ljavax/net/ssl/SSLContext;Ljavax/net/ssl/HostnameVerifier;)V

Searched on Google with the first line of a JAVA stack trace?

We can recommend more relevant solutions and speed up debugging when you paste your entire stack trace with the exception message. Try a sample exception.

Recommended solutions based on your search

Solutions on the web

via GitHub by kwhitehall
, 1 year ago
org.apache.http.conn.ssl.SSLConnectionSocketFactory.<init>(Ljavax/net/ssl/SSLContext;Ljavax/net/ssl/HostnameVerifier;)V
java.lang.NoSuchMethodError: org.apache.http.conn.ssl.SSLConnectionSocketFactory.<init>(Ljavax/net/ssl/SSLContext;Ljavax/net/ssl/HostnameVerifier;)V
at ucar.httpservices.HTTPSession.setGlobalSSLAuth(HTTPSession.java:721)
at ucar.httpservices.HTTPSession.processDFlags(HTTPSession.java:442)
at ucar.httpservices.HTTPSession.(HTTPSession.java:408)
at ucar.httpservices.HTTPFactory.newSession(HTTPFactory.java:57)
at ucar.httpservices.HTTPMethod.(HTTPMethod.java:220)
at ucar.httpservices.HTTPMethod.(HTTPMethod.java:194)
at ucar.httpservices.HTTPFactory.Get(HTTPFactory.java:127)
at ucar.nc2.dataset.NetcdfDataset.checkIfDods(NetcdfDataset.java:862)
at ucar.nc2.dataset.NetcdfDataset.disambiguateHttp(NetcdfDataset.java:820)
at ucar.nc2.dataset.NetcdfDataset.openOrAcquireFile(NetcdfDataset.java:706)
at ucar.nc2.dataset.NetcdfDataset.openDataset(NetcdfDataset.java:427)
at ucar.nc2.dataset.NetcdfDataset.openDataset(NetcdfDataset.java:410)
at ucar.nc2.dataset.NetcdfDataset.openDataset(NetcdfDataset.java:395)
at ucar.nc2.dataset.NetcdfDataset.openDataset(NetcdfDataset.java:382)

Users with the same issue

You are the first who have seen this exception.

Write tip

Know the solutions? Share your knowledge to help other developers to debug faster.