Maven使用Test的时候出现
Failed to execute goal org.apache.maven.plugins:maven-surefire-plugin:2.12.4:test (default-test) on project StuMavenDemo1: There are test failures.
错误
原因:高版本IDEA在运行项目单元测试时会调用test方法,如果你写的单元测试代码有问题,就会直接提示你某个单元测试有问题,就会报上面的错误
将Maven的插件test禁用掉即可.
标签:project,goal,There,maven,Failed,test,StuMavenDemo1 From: https://www.cnblogs.com/ai377377/p/16615747.html