配置maven-repsositories,update Remote Update Error
1.不能自动补全包名
解决: Setting—Maven—Repositories----update,此时只能成功更新local ,Remote提示Error,于是只能补全仓库中已下载的依赖包
查知,能自动补全是因为已下载依赖包索引,不同于仓库中的依赖包,update remote 即可下载
2.remote repository 无法更新erro,即无法下载中央仓库索引
解决:setting中注释掉使用的镜像,更新完再加上镜像。总之,最后这样解决了问题。
不清楚何处配置为镜像的可参考
setting配置详解