java.lang.NoClassDefFoundError

org/apache/http/entity/ContentType at org.openqa.selenium.remote.HttpCommandExecutor$EntityWithEncoding.(HttpCommandExecutor.java:315) at org.openqa.selenium.firefox.internal.NewProfileExtensionConnection.execute(NewProfileExtensionConnection.java:133) at org.openqa.selenium.firefox.FirefoxDriver$LazyCommandExecutor.execute(FirefoxDriver.java:355) at org.openqa.selenium.remote.RemoteWebDriver.execute(RemoteWebDriver.java:506) at org.openqa.selenium.remote.RemoteWebDriver.startSession(RemoteWebDriver.java:216) at org.openqa.selenium.remote.RemoteWebDriver.(FirefoxDriver.java:188) at org.openqa.selenium.firefox.FirefoxDriver.(FirefoxDriver.java:179) at org.openqa.selenium.firefox.FirefoxDriver.(WebDriverBase.java:108) at com.infusion.test.selenium2.opportunity.OpportunityWebDriverTest.begin(OpportunityWebDriverTest.java:19)

Solutions on the web21211

  • (RemoteWebDriver.java:216) at org.openqa.selenium.remote.RemoteWebDriver.(FirefoxDriver.java:188) at org.openqa.selenium.firefox.FirefoxDriver.(FirefoxDriver.java:179) at org.openqa.selenium.firefox.FirefoxDriver.(WebDriverBase.java:108) at com.infusion.test.selenium2.opportunity.OpportunityWebDriverTest.begin(OpportunityWebDriverTest.java:19)
  • org/apache/http/entity/ContentType at org.openqa.selenium.remote.HttpCommandExecutor$EntityWithEncoding.<init>(HttpCommandExecutor.java:420) at org.openqa.selenium.remote.HttpCommandExecutor.execute(HttpCommandExecutor.java:315) at
  • org/apache/http/auth/Credentials at org.openqa.selenium.firefox.internal.NewProfileExtensionConnection.start(NewProfileExtensionConnection.java:81) at org.openqa.selenium.firefox.FirefoxDriver.startClient(FirefoxDriver.java:244) at org.openqa.selenium.remote.RemoteWebDriver.(FirefoxDriver.java:188)
  • Stack trace

    • java.lang.NoClassDefFoundError: org/apache/http/entity/ContentType at org.openqa.selenium.remote.HttpCommandExecutor$EntityWithEncoding.(HttpCommandExecutor.java:315) at org.openqa.selenium.firefox.internal.NewProfileExtensionConnection.execute(NewProfileExtensionConnection.java:133) at org.openqa.selenium.firefox.FirefoxDriver$LazyCommandExecutor.execute(FirefoxDriver.java:355) at org.openqa.selenium.remote.RemoteWebDriver.execute(RemoteWebDriver.java:506) at org.openqa.selenium.remote.RemoteWebDriver.startSession(RemoteWebDriver.java:216) at org.openqa.selenium.remote.RemoteWebDriver.(FirefoxDriver.java:188) at org.openqa.selenium.firefox.FirefoxDriver.(FirefoxDriver.java:179) at org.openqa.selenium.firefox.FirefoxDriver.(WebDriverBase.java:108) at com.infusion.test.selenium2.opportunity.OpportunityWebDriverTest.begin(OpportunityWebDriverTest.java:19) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)

    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, 1 year ago
    Unknown user
    Once, 1 year ago
    Unknown user
    Once, 1 year ago
    Unknown user
    Once, 1 year ago