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.

  • Exception thrown by TestNG
    via Stack Overflow by Laura Alvarez
    ,
  • How to get Selenium 3.0.1 to work on a Mac with IntelliJ
    via Software Quality Assurance & Testing by Senator1891
    ,
  • Please do help me over this guyss
    via by SHIVENDER SINGH,
  • Find excepton while run the program
    via Stack Overflow by Ankit Srivastava
    ,
    • 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$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:277) at org.openqa.selenium.firefox.FirefoxDriver.<init>(FirefoxDriver.java:247) at org.openqa.selenium.firefox.FirefoxDriver.<init>(FirefoxDriver.java:242) at org.openqa.selenium.firefox.FirefoxDriver.<init>(FirefoxDriver.java:238) at org.openqa.selenium.firefox.FirefoxDriver.<init>(FirefoxDriver.java:127) at FireFox.main(FireFox.java:9)

    Users with the same issue

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