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

Stack Overflow | Rohan | 5 months ago
tip
Your exception is missing from the Samebug knowledge base.
Here are the best solutions we found on the Internet.
Click on the to mark the helpful solution and get rewards for you help.
  1. 0

    Require Appium settings and configuration for Android studio

    Stack Overflow | 5 months ago | Rohan
    java.lang.NoClassDefFoundError: org/apache/http/auth/Credentials

    Root Cause Analysis

    1. java.lang.NoClassDefFoundError

      org/apache/http/auth/Credentials

      at io.appium.java_client.remote.AppiumCommandExecutor.<init>()
    2. java-client
      AndroidDriver.<init>
      1. io.appium.java_client.remote.AppiumCommandExecutor.<init>(AppiumCommandExecutor.java:52)
      2. io.appium.java_client.AppiumDriver.<init>(AppiumDriver.java:169)
      3. io.appium.java_client.android.AndroidDriver.<init>(AndroidDriver.java:82)
      3 frames
    3. Unknown
      AppiumTest.setUp
      1. AppiumTest.setUp(AppiumTest.java:27)
      1 frame
    4. Java RT
      Method.invoke
      1. sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
      2. sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
      3. sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
      4. java.lang.reflect.Method.invoke(Method.java:498)
      4 frames
    5. JUnit
      BlockJUnit4ClassRunner.runChild
      1. org.junit.runners.model.FrameworkMethod$1.runReflectiveCall(FrameworkMethod.java:50)
      2. org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:12)
      3. org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:47)
      4. org.junit.internal.runners.statements.RunBefores.evaluate(RunBefores.java:24)
      5. org.junit.internal.runners.statements.RunAfters.evaluate(RunAfters.java:27)
      6. org.junit.runners.ParentRunner.runLeaf(ParentRunner.java:325)
      7. org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:78)
      7 frames