Update the pom.xml file with latest appium java client version
<dependency> <groupId>io.appium</groupId> <artifactId>java-client</artifactId> <version>10.0.0</version> </dependency>