java.lang.NoSuchMethodError: org.apache.http.conn.scheme.Scheme.<init>(Ljava/lang/String;ILorg/apache/http/conn/scheme/SchemeSocketFactory;)V

  1. 0

    Error When Using Geb, Selenium And Spock For Functional Testing in Grails 1.3.7

    Stack Overflow | 5 years ago | Parham Doustdar
    java.lang.NoSuchMethodError: org.apache.http.conn.scheme.Scheme.<init>(Ljava/lang/String;ILorg/apache/http/conn/scheme/SchemeSocketFactory;)V
  2. 0

    org.openqa.selenium.internal.SocketLock exception

    Stack Overflow | 5 years ago | pallavi
    java.lang.NoSuchMethodError: org.apache.http.conn.scheme.Scheme.(Ljava/lang/String;ILorg/apache/http/conn/scheme/SchemeSocketFactory;)V
  3. 0

    selenium firefox profile exception

    Stack Overflow | 5 years ago | pallavi
    java.lang.NoSuchMethodError: org.apache.http.conn.scheme.Scheme. (Ljava/lang/String;ILorg/apache/http/conn/scheme/SchemeSocketFactory;)V
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    fail to start webdriver when try to run it with ant

    GitHub | 9 months ago | lukeis
    java.lang.NoSuchMethodError: org.apache.http.params.HttpConnectionParams.setSoReuseaddr(Lorg/apache/http/params/HttpParams;Z)V
  6. 0

    NoSuchMethodError: org.apache.http.conn.scheme.Scheme.<init>(Ljava/lang/String;ILorg/apache/http/conn/scheme/SchemeSocketFactory;)V

    Stack Overflow | 4 years ago | dhananjay
    java.lang.NoSuchMethodError: org.apache.http.conn.scheme.Scheme.<init>(Ljava/lang/String;ILorg/apache/http/conn/scheme/SchemeSocketFactory;)V

    Not finding the right solution?
    Take a tour to get the most out of Samebug.

    Tired of useless tips?

    Automated exception search integrated into your IDE

    Root Cause Analysis

    1. java.lang.NoSuchMethodError

      org.apache.http.conn.scheme.Scheme.<init>(Ljava/lang/String;ILorg/apache/http/conn/scheme/SchemeSocketFactory;)V

      at org.openqa.selenium.remote.internal.HttpClientFactory.getClientConnectionManager()
    2. Selenium
      HttpCommandExecutor.<init>
      1. org.openqa.selenium.remote.internal.HttpClientFactory.getClientConnectionManager(HttpClientFactory.java:59)
      2. org.openqa.selenium.remote.internal.HttpClientFactory.<init>(HttpClientFactory.java:48)
      3. org.openqa.selenium.remote.HttpCommandExecutor.<init>(HttpCommandExecutor.java:111)
      3 frames
    3. selenium-firefox-driver
      FirefoxDriver.startClient
      1. org.openqa.selenium.firefox.internal.NewProfileExtensionConnection.start(NewProfileExtensionConnection.java:78)
      2. org.openqa.selenium.firefox.FirefoxDriver.startClient(FirefoxDriver.java:200)
      2 frames
    4. Selenium
      RemoteWebDriver.<init>
      1. org.openqa.selenium.remote.RemoteWebDriver.<init>(RemoteWebDriver.java:94)
      1 frame
    5. selenium-firefox-driver
      FirefoxDriver.<init>
      1. org.openqa.selenium.firefox.FirefoxDriver.<init>(FirefoxDriver.java:147)
      2. org.openqa.selenium.firefox.FirefoxDriver.<init>(FirefoxDriver.java:85)
      2 frames
    6. Geb Core
      Browser.report
      1. geb.driver.NameBasedDriverFactory.getDriver(NameBasedDriverFactory.groovy:42)
      2. geb.driver.CachingDriverFactory.getDriver(CachingDriverFactory.groovy:36)
      3. geb.Configuration.createDriver(Configuration.groovy:210)
      4. geb.Configuration.getDriver(Configuration.groovy:199)
      5. geb.Browser.getDriver(Browser.groovy:100)
      6. geb.report.PageSourceReporter.getPageSource(PageSourceReporter.groovy:39)
      7. geb.report.PageSourceReporter.writePageSource(PageSourceReporter.groovy:35)
      8. geb.report.PageSourceReporter.writeReport(PageSourceReporter.groovy:27)
      9. geb.report.ScreenshotAndPageSourceReporter.writeReport(ScreenshotAndPageSourceReporter.groovy:31)
      10. geb.Browser.report(Browser.groovy:453)
      10 frames
    7. Geb for Spock
      GebReportingSpec.cleanup
      1. geb.spock.GebReportingSpec.report(GebReportingSpec.groovy:43)
      2. geb.spock.GebReportingSpec.cleanup(GebReportingSpec.groovy:39)
      2 frames