关于Maven找不到依赖或者下载慢的问题总结
导语 Maven和gradle是现在JAVA世界中最普遍的两个依赖管理工具。很多人最开始接触的便是maven,而即便是使用gradle的人,也不能保证你即将接触的项目不是基于maven的。 相信作为一个JAVA开发者,一定会遇到不少Maven相关的错误。这里总结一下一些maven的使用经验,能解决几乎所有平时能遇到的棘手问题。 2020年01月15日起 Maven中央仓库禁止了HTTP访问,需要修改HTTP为HTTPS才能访问。 Effective January 15, 2020, The Central Repository no longer supports insecure communication over plain HTTP and requires that all requests to the repository are encrypted over HTTPS. If you're receiving this error, then you need to replace all URL references to Maven Central with their canonical HTTPS counterparts 参考链接 找不到jar,无法在某某仓库找到jar 解决方案: 以commons-collections为例, 检查是不是网络问题: