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