解决:target\surefire-reports for the individual test results
2017-12-15 18:39
716 查看
错误:
[ERROR] Failed to execute goal org.apache.maven.plugins:maven-surefire-plugin:2.10:test (default-test) on project web_nanchang: There are test failures.
[ERROR]
[ERROR] Please refer to E:\maven\web_nanchang\target\surefire-reports for the individual test results.
解决方法:
这是因为测试代码时遇到错误,它会停止编译。只需要在pom.xml的<project>里添加以下配置,使得测试出错不影响项目的编译。
原文转自:http://blog.csdn.net/lch_cn/article/details/8225448/
[ERROR] Failed to execute goal org.apache.maven.plugins:maven-surefire-plugin:2.10:test (default-test) on project web_nanchang: There are test failures.
[ERROR]
[ERROR] Please refer to E:\maven\web_nanchang\target\surefire-reports for the individual test results.
解决方法:
这是因为测试代码时遇到错误,它会停止编译。只需要在pom.xml的<project>里添加以下配置,使得测试出错不影响项目的编译。
<build> <plugins> <plugin> <groupId>org.apache.maven.plugins</groupId> <artifactId>maven-surefire-plugin</artifactId> <configuration> <testFailureIgnore>true</testFailureIgnore> </configuration> </plugin> </plugins> </build>
原文转自:http://blog.csdn.net/lch_cn/article/details/8225448/
相关文章推荐
- “No mapping for the Unicode character exists in the target multi-byte code page” 错误解决方法
- linux下 mvn install 报错 Please refer to E:\maven\web_nanchang\target\surefire-reports for the indivi..
- xib This file is set to build for a version older than the project deployment target解决方法
- Service部署到服务器后出现"The test form is only available for requests from the local machine"解决方法
- "The target '__Page' for the callback could not be found or did not implement ICallbackEventHandler."的解决办法
- 成功解决问题[Fatal Error] test.xml:1:7: The processing instruction target matching "[xX][mM][lL]" is not allowed.
- "The test form is only available for requests from the local machine"解决方法
- "The test form is only available for requests from the local machine"解决方法
- The test form is only available for requests from the local machine 解决方法
- The test form is only available for requests from the local machine 解决方法
- 问题解决方法:No instrumentation runner found for the launch, using android.test.Instrumen
- The test form is only available for requests from the local machine解决
- Service部署到服务器后出现"The test form is only available for requests from the local machine"解决方法
- 【转】The test form is only available for requests from the local machine 解决方法
- 使用浏览器测试Web服务时出现提示“The test form is only available for requests from the local machine.”的解决办法
- Service部署到服务器后出现"The test form is only available for requests from the local machine"解决方法
- The “SignFile” task was not given a value for the required parameter “CertificateThumbprint”的一个简单的解决方法
- ganglia 报 "Error 1 sending the modular data for" Error解决方法
- A 'C' Test: The 0x10 Best Questions for Would-be Embedded Programmers
- this class is not key value coding-compliant for the key Button 错误解决方法