选择菜单Run->External Tools->External Tools ...在左边选择Program,再点New:配置Location为mvn完 整命令行。定位到bin下的mvn.bat选择Working Directory为本项目。