java.lang.IllegalStateException

The path to the driver executable must be set by the webdriver.gecko.driver system property; for more information, see . The latest version can be downloaded from

Samebug tips1

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


Don't give up yet. Our experts can help. Paste your full stack trace to get a solution.

Solutions on the web27128

  • The path to the driver executable must be set by the webdriver.gecko.driver system property; for more information, see . The latest version can be downloaded from
  • via seleniumeasy.com by Unknown author, 10 months ago
    The path to the driver executable must be set by the webdriver.gecko.driver system property; for more information, see . The latest version can be downloaded from
  • via seleniumeasy.com by Unknown author, 4 months ago
    The path to the driver executable must be set by the webdriver.gecko.driver system property; for more information, see . The latest version can be downloaded from
  • Stack trace

    • java.lang.IllegalStateException: The path to the driver executable must be set by the webdriver.gecko.driver system property; for more information, see . The latest version can be downloaded from 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)

    Write tip

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

    Users with the same issue

    Unknown user
    Once, 11 months ago
    2 times, 1 month ago
    Once, 6 months ago
    Once, 8 months ago
    Unknown user
    Once, 11 months ago
    84 more bugmates