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

Google Groups | David Ramer | 11 months ago
tip
Click on the to mark the solution that helps you, Samebug will learn from it.
As a community member, you’ll be rewarded for you help.
  1. 0

    WebDriver driver = new FirefoxDriver();

    Google Groups | 11 months ago | David Ramer
    java.lang.NoClassDefFoundError: org/apache/commons/exec/Executor
  2. 0

    Software Quality Assurance Forums: Webdriver on Firefox 12

    sqaforums.com | 2 years ago
    java.lang.NoClassDefFoundError: org/apache/commons/exec/ExecuteWatchdog

    6 unregistered visitors

    Root Cause Analysis

    1. java.lang.NoClassDefFoundError

      org/apache/commons/exec/Executor

      at org.openqa.selenium.os.CommandLine.<init>()
    2. Selenium
      CommandLine.<init>
      1. org.openqa.selenium.os.CommandLine.<init>(CommandLine.java:47)
      1 frame
    3. selenium-firefox-driver
      FirefoxDriver.startClient
      1. org.openqa.selenium.firefox.FirefoxBinary.startProfile(FirefoxBinary.java:97)
      2. org.openqa.selenium.firefox.internal.NewProfileExtensionConnection.start(NewProfileExtensionConnection.java:110)
      3. org.openqa.selenium.firefox.FirefoxDriver.startClient(FirefoxDriver.java:276)
      3 frames
    4. Selenium
      RemoteWebDriver.<init>
      1. org.openqa.selenium.remote.RemoteWebDriver.<init>(RemoteWebDriver.java:116)
      1 frame
    5. selenium-firefox-driver
      FirefoxDriver.<init>
      1. org.openqa.selenium.firefox.FirefoxDriver.<init>(FirefoxDriver.java:221)
      2. org.openqa.selenium.firefox.FirefoxDriver.<init>(FirefoxDriver.java:216)
      3. org.openqa.selenium.firefox.FirefoxDriver.<init>(FirefoxDriver.java:212)
      4. org.openqa.selenium.firefox.FirefoxDriver.<init>(FirefoxDriver.java:125)
      4 frames
    6. com.common.eTest
      eTestScreenCaptureFactory$Test.main
      1. com.common.eTest.eTestScreenCaptureFactory$Test.main(eTestScreenCaptureFactory.java:221)
      1 frame