maven 配置http私服Since Maven 3.8.1 http repositories are blocked. 报错处理

刷maven报错

com.saas:pdf:pom:0.0.1 failed to transfer from http://0.0.0.0/ during a previous attempt. This failure was cached in the local repository and resolution is not reattempted until the update interval of maven-default-http-blocker has elapsed or updates are forced. Original error: Could not transfer artifact com.saas:pdf:pom:0.0.1 from/to maven-default-http-blocker (http://0.0.0.0/): Blocked mirror for repositories: [saas.com (http://192.168.31.109:8081/service/rest/repository/browse/maven-public/, default, releases+snapshots)]

Since Maven 3.8.1 http repositories are blocked.

Possible solutions:

这个错的原因是:Maven从3.8.1版本开始就禁用了http仓库

简单粗暴的方法,直接降级Maven到apache-maven-3.6.3

相关推荐
zl_dfq24 分钟前
计算机网络 之 【http协议】(hppt请求与响应细节、http版本与连接管理)
http
孤影过客2 小时前
互联网谍战:HTTPS如何守护数据,以及头顶的量子阴云
网络协议·http·https
牛奶2 小时前
为什么全国人民都能秒开同一个视频?
前端·http·cdn
The Sheep 20236 小时前
C# 操作XML
xml·前端·c#
不吃香菜学java7 小时前
苍穹外卖-新增套餐
java·spring boot·spring·tomcat·maven·mybatis
萝卜白菜。7 小时前
Http GET / 请求返回值不同的问题
网络·网络协议·http
jessecyj9 小时前
Nginx中$http_host、$host、$proxy_host的区别
运维·nginx·http
Binary-Jeff9 小时前
Maven 依赖作用域详解:compile、provided、runtime、test
java·spring·spring cloud·servlet·java-ee·maven
spencer_tseng9 小时前
apache-maven-3.9.6
java·maven
博语小屋9 小时前
Reactor、epoll下设计一个简单的网络版本计算器
服务器·开发语言·网络·网络协议·http·php