java.lang.NoSuchMethodError: org.apache.http.impl.client.HttpClientBuilder.setSSLContext(Ljavax/net/ssl/SSLContext;)Lorg/apache/http/impl/client/HttpClientBuilder;

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 pcolmer
, 1 year ago
org.apache.http.impl.client.HttpClientBuilder.setSSLContext(Ljavax/net/ssl/SSLContext;)Lorg/apache/http/impl/client/HttpClientBuilder;
java.lang.NoSuchMethodError: org.apache.http.impl.client.HttpClientBuilder.setSSLContext(Ljavax/net/ssl/SSLContext;)Lorg/apache/http/impl/client/HttpClientBuilder;
at com.norconex.collector.http.client.impl.GenericHttpClientFactory.createHTTPClient(GenericHttpClientFactory.java:288)
at com.norconex.collector.http.crawler.HttpCrawler.initializeHTTPClient(HttpCrawler.java:352)
at com.norconex.collector.http.crawler.HttpCrawler.prepareExecution(HttpCrawler.java:114)
at com.norconex.collector.core.crawler.AbstractCrawler.doExecute(AbstractCrawler.java:199)
at com.norconex.collector.core.crawler.AbstractCrawler.startExecution(AbstractCrawler.java:174)
at com.norconex.jef4.job.AbstractResumableJob.execute(AbstractResumableJob.java:49)
at com.norconex.jef4.suite.JobSuite.runJob(JobSuite.java:350)
at com.norconex.jef4.suite.JobSuite.doExecute(JobSuite.java:300)
at com.norconex.jef4.suite.JobSuite.execute(JobSuite.java:172)
at com.norconex.collector.core.AbstractCollector.start(AbstractCollector.java:120)
at com.norconex.collector.core.AbstractCollectorLauncher.launch(AbstractCollectorLauncher.java:80)
at com.norconex.collector.http.HttpCollector.main(HttpCollector.java:75)

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.