看到很多是更改pom文件 但是也有个设置的方法: File -> Settings -> Build,Excecution,Deployment -> Build Tools -> Maven -> Runner 勾选 Skip tests