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 | 1 year ago
    java.lang.NoClassDefFoundError: org/apache/http/auth/Credentials
  2. 0

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


    Google Groups | 5 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
    A few things cause this exception: 1) Check if you have all jars and if they're in the correct path when running. 2) Your classpath might be broken, you can define it in the command line with "java -cp yourClassPath" or at your IDE if you're using one.
  6. 0
    samebug tip
    If you're using Hibernate, this indicates you're missing FasterXML Classmate dependency, which you can add to your dependencies. To add it, the groupId is com.fasterxml and artifactId is Classmate.
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