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

GitHub | pcolmer | 7 months ago
tip
Your exception is missing from the Samebug knowledge base.
Here are the best solutions we found on the Internet.
Click on the to mark the helpful solution and get rewards for you help.
  1. 0

    Java exception: NoSuchMethodError when running minimum test

    GitHub | 7 months ago | pcolmer
    java.lang.NoSuchMethodError: org.apache.http.impl.client.HttpClientBuilder.setSSLContext(Ljavax/net/ssl/SSLContext;)Lorg/apache/http/impl/client/HttpClientBuilder;

    Root Cause Analysis

    1. 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()
    2. com.norconex.collector
      AbstractCrawler.startExecution
      1. com.norconex.collector.http.client.impl.GenericHttpClientFactory.createHTTPClient(GenericHttpClientFactory.java:288)
      2. com.norconex.collector.http.crawler.HttpCrawler.initializeHTTPClient(HttpCrawler.java:352)
      3. com.norconex.collector.http.crawler.HttpCrawler.prepareExecution(HttpCrawler.java:114)
      4. com.norconex.collector.core.crawler.AbstractCrawler.doExecute(AbstractCrawler.java:199)
      5. com.norconex.collector.core.crawler.AbstractCrawler.startExecution(AbstractCrawler.java:174)
      5 frames
    3. com.norconex.jef4
      JobSuite.execute
      1. com.norconex.jef4.job.AbstractResumableJob.execute(AbstractResumableJob.java:49)
      2. com.norconex.jef4.suite.JobSuite.runJob(JobSuite.java:350)
      3. com.norconex.jef4.suite.JobSuite.doExecute(JobSuite.java:300)
      4. com.norconex.jef4.suite.JobSuite.execute(JobSuite.java:172)
      4 frames
    4. com.norconex.collector
      HttpCollector.main
      1. com.norconex.collector.core.AbstractCollector.start(AbstractCollector.java:120)
      2. com.norconex.collector.core.AbstractCollectorLauncher.launch(AbstractCollectorLauncher.java:80)
      3. com.norconex.collector.http.HttpCollector.main(HttpCollector.java:75)
      3 frames