java.lang.NoClassDefFoundError: org/apache/http/auth/Credentials

Do you find the tips below useful? Click on the to mark them and say thanks to Rafael Fischer Viola and rafael . Or join the community to write better ones.
  1. 0

    Create And Run First Webdriver Script With Eclipse | 10 months ago
    java.lang.NoClassDefFoundError: org/apache/http/auth/Credentials
  2. 0

    Create And Run First Webdriver Script With Eclipse | 7 months ago
    java.lang.NoClassDefFoundError: org/apache/http/auth/Credentials
  3. 0


    Google Groups | 4 years ago | rakesh
    java.lang.NoClassDefFoundError: org/apache/http/conn/scheme/SchemeSocketFactory
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0
    samebug tip
    This exception normally means you either have to add the said class to your dependencies or you miswrote it. Look in the documentation of your library how to add it as a dependency.
  6. 0
    samebug tip
    If you're using Hibernate, this indicates you're missing FasterXML Classmate dependency, which you can add with the following: <groupId>com.fasterxml</groupId> <artifactId>classmate</artifactId> <version>1.0</version>
Not finding the right solution?
Take a tour to get the most out of Samebug.

Tired of useless tips?

Automated exception search integrated into your IDE

Root Cause Analysis

  1. java.lang.ClassNotFoundException


  2. Java RT
    1. Source)
    2. java.lang.ClassLoader.loadClass(Unknown Source)
    3. sun.misc.Launcher$AppClassLoader.loadClass(Unknown Source)
    4. java.lang.ClassLoader.loadClass(Unknown Source)
    4 frames
  3. Selenium
    1. org.openqa.selenium.remote.HttpCommandExecutor.getDefaultClientFactory(
    2. org.openqa.selenium.remote.HttpCommandExecutor.<init>(
    3. org.openqa.selenium.remote.HttpCommandExecutor.<init>(
    3 frames
  4. selenium-firefox-driver
    1. org.openqa.selenium.firefox.internal.NewProfileExtensionConnection.start(
    2. org.openqa.selenium.firefox.FirefoxDriver.startClient(
    2 frames
  5. Selenium
    1. org.openqa.selenium.remote.RemoteWebDriver.<init>(
    1 frame
  6. selenium-firefox-driver
    1. org.openqa.selenium.firefox.FirefoxDriver.<init>(
    2. org.openqa.selenium.firefox.FirefoxDriver.<init>(
    3. org.openqa.selenium.firefox.FirefoxDriver.<init>(
    4. org.openqa.selenium.firefox.FirefoxDriver.<init>(
    4 frames
  7. TestjUnit
    1. TestjUnit.mytestclass.main(
    1 frame