1---在打开Maven/conf文件,将原有的mirror参数改为 alimaven central aliyun maven http://maven.aliyun.com/repository/public 2---在xml里面添加 alimaven https://maven.aliyun.com/repository/public alimaven https://maven.aliyun.com/repository/public 3---在Maven中重新加载项目,OK。不报错