先保证本机安装了gradle 2.0以上的版本 然后在maven项目的根目录下运行 gradle init --type pom 参考:https://blog.csdn.net/lpfasd123/article/details/78173586