java.lang.NoSuchMethodError: org.openqa.selenium.remote.ErrorHandler.<init>(Lorg/openqa/selenium/remote/ErrorCodes;Z)V
at io.appium.java_client.AppiumDriver.<clinit>(AppiumDriver.java:46)
更新pom.xml文件中selenium版本为2.42.2就可以解决,原因是图2中java-client使用1.5以上的2.2.0版本,1.5以上的版本是依赖与selenium的2.42.2版本