Appium operation Error .<init> (lorg/openqa/selenium/remote/errorcodes; Z) V

Source: Internet
Author: User
Tags appium

Recently these days in learning appium, build the environment took a lot of time, have to admit that they are stupid, and then I set up the environment, write the script, the report this wrong, was a direct download from a group of demo, have to Spit Groove said, enough pit, is able to run through, you add so many jar package , it's OK, it's not that you changed the jar name, which I don't understand. I check this error, check for a day, later ruled out the law just know what, error as follows:

Java.lang.NoSuchMethodError:org.openqa.selenium.remote.ErrorHandler. (Lorg/openqa/selenium/remote/errorcodes; Z) VSolution: If your JDK and Appium install Package SDK configuration is not a problem, that is the role of the package Selenium-server-standalone-2.48.2.jar, the introduction of this jar will not be an error.hint haAppium requires two jar packagesJava-client.jarSelenium-server-standalone-2.48.2.jarmaven dependencies are as follows:

But I do not know why, I add Selenium-server-standalone-2.48.2.jar Pom, added, but still error, no way can only manually introduced the jar packagePS:: Ask a colleague tomorrow, sleep

Appium operation Error .<init> (lorg/openqa/selenium/remote/errorcodes; Z) V

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.