maven报错:Failed to execute goal org.apache.maven.plugins

来源:互联网 发布:linux安装hadoop2.6 编辑:程序博客网 时间:2024/06/07 15:14

idea中maven项目报错:

[ERROR] Failed to execute goal org.apache.maven.plugins:maven-surefire-plugin:2.12.4:test (default-test) on project rongke-web: There are test failures.[ERROR] [ERROR] Please refer to E:\ideaProject\jima\xedk\rongke-web\target\surefire-reports for the individual test results.[ERROR] -> [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[ERROR] [ERROR] After correcting the problems, you can resume the build with the command[ERROR]   mvn <goals> -rf :rongke-web

找到rongke-web模块,src->test->java下有测试文件出错,删掉就可以了。

阅读全文
0 0