java.lang.IllegalStateException

tip

Check if there is no nexus running. If not, delete sonatype-work/nexus/nexus.lock .


rp

You have a different solution? A short tip here would help you and many other users who saw this issue last week.

  • Unable to load webdriver firefox
    via GitHub by Bandatej
    ,
  • Create And Run First Webdriver Script With Eclipse
    via by Unknown author,
  • Selenium 3 with Geckodriver Setup
    via Stack Overflow by Matt Brennan
    ,
  • Exception thrown by TestNG
    via Stack Overflow by Laura Alvarez
    ,
    • java.lang.IllegalStateException: The path to the driver executable must be set by the webdriver.gecko.driver system property; for more information, see https://github.com/mozilla/geckodriver. The latest version can be downloaded from https://github.com/mozilla/geckodriver/releases at com.google.common.base.Preconditions.checkState(Preconditions.java:199) at org.openqa.selenium.remote.service.DriverService.findExecutable(DriverService.java:109) at org.openqa.selenium.firefox.GeckoDriverService.access$000(GeckoDriverService.java:37) at org.openqa.selenium.firefox.GeckoDriverService$Builder.findDefaultExecutable(GeckoDriverService.java:95) at org.openqa.selenium.remote.service.DriverService$Builder.build(DriverService.java:296) at org.openqa.selenium.firefox.FirefoxDriver.createCommandExecutor(FirefoxDriver.java:265) at org.openqa.selenium.firefox.FirefoxDriver.<init>(FirefoxDriver.java:235) at org.openqa.selenium.firefox.FirefoxDriver.<init>(FirefoxDriver.java:230) at org.openqa.selenium.firefox.FirefoxDriver.<init>(FirefoxDriver.java:226) at org.openqa.selenium.firefox.FirefoxDriver.<init>(FirefoxDriver.java:124) at Firefox.main(Firefox.java:9)

    Users with the same issue

    musketyr
    1 times, last one,
    Unknown visitor1 times, last one,
    Unknown visitor1 times, last one,
    raytest
    1 times, last one,
    pnaranja
    2 times, last one,
    83 more bugmates