繁体   English   中英

问题是使用测试 maven,显示此错误 Failed to execute goal org.apache.maven.plugins:maven-surefire-plugin:2.12.4:test (default-test)

[英]Issue is using test maven, this error is displayed Failed to execute goal org.apache.maven.plugins:maven-surefire-plugin:2.12.4:test (default-test)

当我尝试测试或安装我的 pom.xml 时,我收到了以下错误消息:

未能执行目标 org.apache.maven.plugins:maven-surefire-plugin:2.12.4:test (default-test)

我想说明没有什么能真正帮助 Mvn clean、Update project、Clean 或我能做的与 Maven 相关的任何其他事情,任何人都可以帮助我提出真正有助于解决问题的其他想法吗?

谢谢

让我知道以下信息是否对您有帮助!

  • 试用最新稳定版的surefire-plugin (2.22.2)
  • 其他选项可能是内存管理
<plugin> <groupId>org.apache.maven.plugins</groupId> <artifactId>maven-surefire-plugin</artifactId> <version>2.21.0</version> <configuration> <testFailureIgnore>true</testFailureIgnore> <reuseForks>true</reuseForks> <argLine>-Xmx1024m -XX:MaxPermSize=256m</argLine> </configuration> </plugin>

暂无
暂无

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM