这种状况个别是因为maven 配置的setting.xml文件有误. maven我的项目编译报错如下: 点击【我的项目名】提醒 也就是说找不到xml文件解决方案1.双击shift 找到setting.xml 从新引入即可2.再次执行maven install打包操作