其他分享
首页 > 其他分享> > idea使用maven加载jar包报错

idea使用maven加载jar包报错

作者:互联网

报错信息如下:

Blocked mirror for repositories: [getui-nexus (http://mvn.gt.igexin.com/nexus/content/repositories/releases/, default, releases+snapshots), central (http://repo1.maven.org/maven2, default, releases)]

Since Maven 3.8.1 http repositories are blocked.

Possible solutions:
- Check that Maven pom files not contain http repository http://mvn.gt.igexin.com/nexus/content/repositories/releases/
- Check that Maven pom files not contain http repository http://repo1.maven.org/maven2
- Add a mirror(s) for http://mvn.gt.igexin.com/nexus/content/repositories/releases/, http://repo1.maven.org/maven2 that allows http url in the Maven settings.xml
- Downgrade Maven to version before 3.8.1 in settings

重点看标红的这一句,告诉你要把maven版本降低。

因为我下载使用的最新的idea,自带maven3.8.3,貌似最新的不支持http的包,所以乖乖降低版本吧。

在官网直接查找即可。

下载页链接

往下翻

 

 点击后

 

 

 

 在idea通过setting进行设置即可

 

标签:maven,http,releases,nexus,repositories,jar,idea,Maven,报错
来源: https://www.cnblogs.com/qcq0703/p/15828126.html