Closed Warren25 closed 8 months ago
@Warren25 how do you specify the version of Appium client?
@valfirst
Here is where I list the Appium Java client in my pom file
Please make sure to use compatible version of Appium Java client and Selenium client: https://github.com/appium/java-client?tab=readme-ov-file#compatibility-matrix
Serenity also uses own range of Appium and Selenium versions: https://github.com/serenity-bdd/serenity-core/blob/fc35b519bc57595eb9a29e65994aad55317596e8/pom.xml#L65-L76, make sure your classpath doesn't contain any incompatible JAR-s
Duplicate of #1907
Description
Getting
Receiver class java.lang.AbstractMethodError: Receiver class io.appium.java_client.service.local.AppiumServiceBuilder does not define or inherit an implementation of the resolved method 'abstract void loadSystemProperties()' of abstract class org.openqa.selenium.remote.service.DriverService$Builder.
error while initiating AppiumDriverLocalService.I believe this issue to be directly related to https://github.com/appium/java-client/issues/1907#issue-1701376176
Environment
Details
_I am using appium java client 9.0.0 since it is the latest and also 8.5.0 seems to not be recognized as a valid dependency in Maven.
Code fails at line where AppiumDriverLocalService is invoked._
Code To Reproduce Issue [ Good To Have ]
Exception Stacktraces