单独使用 ide 运行 testng 的 case 没有问题,
但是我一执行 mvn clean test 就报错,
[ERROR] Failed to execute goal org.apache.maven.plugins:maven-surefire-plugin:2.15:test (default-test) on project test: Exception in provider; nested exc
eption is java.lang.NoClassDefFoundError: org/sikuli/script/FindFailed: org.sikuli.script.FindFailed -> [Help 1]
[ERROR]
[ERROR] To see the full stack trace of the errors, re-run Maven with the -e switch.
[ERROR] Re-run Maven using the -X switch to enable full debug logging.
[ERROR]
[ERROR] For more information about the errors and possible solutions, please read the following articles:
[ERROR] [Help 1] http://cwiki.apache.org/confluence/display/MAVEN/MojoFailureException

提示找不到 org.sikuli.script.FindFailed 类,求教怎么解决


↙↙↙阅读原文可查看相关链接,并与作者交流