linux下 mvn install 报错 Please refer to E:\maven\web_nanchang\target\surefire-reports for the indivi..

原因是测试代码发生错误导致编译终止失败。

解决办法:

pom.xml 文件的build里面plugins下添加如下代码

  
<plugin>
            <groupId>org.apache.maven.plugins</groupId>
            <artifactId>maven-surefire-plugin</artifactId>
            <configuration>
                <testFailureIgnore>true</testFailureIgnore>
            </configuration>
        </plugin>
我是这样解决的。
其他错误解决办法参照:
http://blog.csdn.net/lch_cn/article/details/8225448/

猜你喜欢

转载自blog.csdn.net/ypp91zr/article/details/79268841
今日推荐