无法执行目标org.apache.maven.plugins:maven-surefire-plugin:2.4.3:项目smrr上的测试(默认测试):存在测试失败 [英] Failed to execute goal org.apache.maven.plugins:maven-surefire-plugin:2.4.3:test (default-test) on project smrr: There are test failures

查看:4375
本文介绍了无法执行目标org.apache.maven.plugins:maven-surefire-plugin:2.4.3:项目smrr上的测试(默认测试):存在测试失败的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述


无法执行目标
org.apache.maven.plugins:maven-surefire-plugin:2.4.3:在项目smrr上测试
(默认测试):有测试失败。

Failed to execute goal org.apache.maven.plugins:maven-surefire-plugin:2.4.3:test (default-test) on project smrr: There are test failures.

请参阅C:\ Users \root \Downloads \ smrr \ target \surefire-reports
for个别测试结果。
- > [帮助1]

Please refer to C:\Users\root\Downloads\smrr\target\surefire-reports for the individual test results. -> [Help 1]

要查看错误的完整堆栈跟踪,请使用-e
开关重新运行Maven。使用-X开关重新运行Maven以启用完整的调试日志记录。

To see the full stack trace of the errors, re-run Maven with the -e switch. Re-run Maven using the -X switch to enable full debug logging.

有关错误和可能的解决方案的更多信息,请阅读以下文章
: [帮助1]
http://cwiki.apache.org/confluence/display / MAVEN / MojoFailureException
检查Maven网络代理...

For more information about the errors and possible solutions, please read the following articles: [Help 1] http://cwiki.apache.org/confluence/display/MAVEN/MojoFailureException Check Maven network proxy...

================ ====================

====================================

任何人都可以解决这个问题吗?

Anyone please solve this problem ?

推荐答案

Maven将尝试在.m2 / repository文件夹中首次安装此插件以及依赖项,因为代理问题依赖项无法下载。
so,
更新Maven项目:

Maven will try to install this plugin along with dependencies first time in .m2/repository folder, due proxy issues dependencies failing to download. so, Update the Maven project:

步骤:

右键单击onproject
转到Maven>>更新
等待应用所有更改
提交更改(如果代码在repo上)
运行

Right-click on "project" Go to "Maven" >> "Update" Wait for all the changes to be applied Commit the changes (if code is on repo) Run

同时检查artifactid,groupid,插件版本以及依赖项。

Also check the artifactid, groupid, version of plugins along with dependencies.

这篇关于无法执行目标org.apache.maven.plugins:maven-surefire-plugin:2.4.3:项目smrr上的测试(默认测试):存在测试失败的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
相关文章
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆