IDEA中永久修改IDEA中的maven默认仓库 参考博客 打开IDEA,选择file , new project setting, setting for new projects, 如下图所示 进入页面重新设置maven仓库地址 , 点击应用并确认 至此,修改完毕