java.lang.IllegalStateException

If you like a tip written by other Samebug users, mark is as helpful! Marks help our algorithm provide you better solutions and also help other users.
tip

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


rprp

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
    ,
    • 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$100(GeckoDriverService.java:38) at org.openqa.selenium.firefox.GeckoDriverService$Builder.findDefaultExecutable(GeckoDriverService.java:91) at org.openqa.selenium.remote.service.DriverService$Builder.build(DriverService.java:296) at org.openqa.selenium.firefox.FirefoxDriver.createCommandExecutor(FirefoxDriver.java:245) at org.openqa.selenium.firefox.FirefoxDriver.<init>(FirefoxDriver.java:220) at org.openqa.selenium.firefox.FirefoxDriver.<init>(FirefoxDriver.java:215) at org.openqa.selenium.firefox.FirefoxDriver.<init>(FirefoxDriver.java:211) at org.openqa.selenium.firefox.FirefoxDriver.<init>(FirefoxDriver.java:124) at automationFramework.FirstTestCase.main(FirstTestCase.java:12)

    Users with the same issue

    Unknown visitor
    Unknown visitor1 times, last one,
    PilleoPilleo
    2 times, last one,
    musketyrmusketyr
    1 times, last one,
    Unknown visitor
    Unknown visitor1 times, last one,
    raytestraytest
    1 times, last one,
    84 more bugmates