java.lang.NoClassDefFoundError: org/apache/commons/exec/Executor

There are no available Samebug tips for this exception. Do you have an idea how to solve this issue? A short tip would help users who saw this issue last week.

  • WebDriver driver = new FirefoxDriver();
    via by David Ramer,
  • Selenium Java Help: January 2015
    via by Unknown author,
  • GitHub comment 63#49151407
    via GitHub by MariaSoluto
    ,
  • Maven + Tycho, adding Maven dependencies
    via Stack Overflow by qqilihq
    ,
    • java.lang.NoClassDefFoundError: org/apache/commons/exec/Executor at org.openqa.selenium.os.CommandLine.<init>(CommandLine.java:38) at org.openqa.selenium.remote.service.DriverService.start(DriverService.java:161) at org.openqa.selenium.remote.service.DriverCommandExecutor.execute(DriverCommandExecutor.java:63) at org.openqa.selenium.remote.RemoteWebDriver.execute(RemoteWebDriver.java:568) at org.openqa.selenium.remote.RemoteWebDriver.startSession(RemoteWebDriver.java:242) at org.openqa.selenium.remote.RemoteWebDriver.<init>(RemoteWebDriver.java:128) at org.openqa.selenium.remote.RemoteWebDriver.<init>(RemoteWebDriver.java:141) at org.openqa.selenium.chrome.ChromeDriver.<init>(ChromeDriver.java:170) at org.openqa.selenium.chrome.ChromeDriver.<init>(ChromeDriver.java:159) at org.openqa.selenium.chrome.ChromeDriver.<init>(ChromeDriver.java:116) at com.common.eTest.eTestScreenCaptureFactory$Test.main(eTestScreenCaptureFactory.java:223)

    Users with the same issue

    Unknown visitor1 times, last one,
    Unknown visitor1 times, last one,
    Unknown visitor1 times, last one,
    Unknown visitor1 times, last one,