settings->Maven->Runner->Delegate IDE bulid->勾选Delegate IDE build
一、首先打开Settings
二、找到Maven下的Runner
三、勾选Delegate IDE build问题解决
如若出现maven无法打包的错误去掉勾选即可。
Failed to execute goal org.apache.maven.plugins:maven-surefire-plugin:2.22.2:test (default-test) on project shiro-springboot: There are test failures.Please refer to F:\JAVA\zc\springboot-08-shiro\shiro-springboot\target\surefire-reports for the individual test results.Please refer to dump files (if any exist) [date].dump, [date]-jvmRun[N].dump and [date].dumpstream.