maven web 打包 发布时 报[ERROR] Failed to execute goal org.apache.maven.plugins:maven-surefire-plugin:2.18

maven web 打包时,报测试类有问题,不能通过编译.只要在测试类上打 @Ignore 注解就可以了

 

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

 

maven web 打包 发布时 报[ERROR] Failed to execute goal org.apache.maven.plugins:maven-surefire-plugin:2.18

 

maven web 打包 发布时 报[ERROR] Failed to execute goal org.apache.maven.plugins:maven-surefire-plugin:2.18