是IDEA2020.1的bug,解决方法:File>Settings>Build, Execution, Deployment>Build Tools>Maven>Runner>Delegate IDE.... 这个选项勾选,亲测有效