maven 打包错误:Please refer to xxx\target\surefire-reports for the individual test results.

或者在pom里面加上

<build>
    <plugins>
        <plugin>
            <groupId>org.apache.maven.plugins</groupId>
            <artifactId>maven-surefire-plugin</artifactId>
            <configuration>
                <testFailureIgnore>true</testFailureIgnore>
            </configuration>
        </plugin>
    </plugins>
</build>

然后将项目重新打包即可

猜你喜欢

转载自blog.csdn.net/JSUITDLWXL/article/details/128500911
今日推荐