gpt4 book ai didi

java - 无法执行目标 org.apache.maven.plugins :maven-surefire-plugin:2. 4.3:test (default-test) on project smrr: There are test failures

转载 作者:搜寻专家 更新时间:2023-11-01 02:44:35 25 4
gpt4 key购买 nike

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

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

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.

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...

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

谁能解决这个问题?

最佳答案

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

步骤:

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

还要检查插件的 artifactid、groupid、版本以及依赖项。

关于java - 无法执行目标 org.apache.maven.plugins :maven-surefire-plugin:2. 4.3:test (default-test) on project smrr: There are test failures,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/25757539/

25 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com