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

GitHub | pcolmer | 8 months ago
tip
Do you know that we can give you better hits? Get more relevant results from Samebug’s stack trace search.
  1. 0

    Java exception: NoSuchMethodError when running minimum test

    GitHub | 8 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