Skip to content

getting java.lang.NoClassDefFoundError when using AppiumDriver constructor  #30

@MariaSoluto

Description

@MariaSoluto

This is the error stack I get:

FAILED: AndroidApp_ReturnUserLogsIn_ValidateMainPage
java.lang.NoClassDefFoundError: org/apache/http/impl/client/HttpClients
at io.appium.java_client.ComplexFind.(ComplexFind.java:15)
at io.appium.java_client.AppiumDriver.(AppiumDriver.java:46)

At this line:
driver = new AppiumDriver(url , capabilities);

I just upgraded to Appium 1.0, Selenium 2.41. The version of the java-client of Appium is 1.2.0.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions