以下是运行TestNG.xml时报告的错误.即使我将范围更改为编译,它仍然没有修复.我也重新建造了这个项目.如果有人能为此提供可行的解决方案,我将不胜感激.
Exception in thread "main" org.testng.TestNGException:
6.1.1 is not a supported TestNG version
at org.testng.remote.support.ServiceLoaderHelper.getFirst(ServiceLoaderHelper.java:22)
at org.testng.remote.RemoteTestNG.main(RemoteTestNG.java:43)
Project的pom.xml文件:
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
4.0.0
TestVagrant
1
1.0-SNAPSHOT
org.seleniumhq.selenium
selenium-java
2.46.0
org.testng
testng
6.1.1
compile
io.appium
java-client
3.0.0
test
以下是TestNG XML: