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

相关推荐
打不了嗝 ᥬ᭄10 小时前
数据链路层
linux·网络·网络协议·http
知兀10 小时前
【Spring/SpringBoot】<dependencyManagement> + import 导入能继承父maven项目的所有依赖,类似parent
spring boot·spring·maven
手握风云-10 小时前
JavaEE 进阶第五期:Maven 之道,项目的依赖艺术与构建哲学
java·java-ee·maven
Ronin30516 小时前
【Linux网络】应用层协议HTTP
linux·网络·http·应用层协议
早退的程序员18 小时前
记一次 Maven 3.8.3 无法下载 HTTP 仓库依赖的排查历程
java·http·maven
勿忘,瞬间19 小时前
Maven
java·maven
止水编程 water_proof1 天前
Java--HTTP(上)
网络·网络协议·http
止水编程 water_proof1 天前
Java-HTTP响应以及HTTPS(下)
网络·网络协议·http
皮皮林5511 天前
快速解决 Maven 版本冲突指南 !
java·maven
一条晓鱼1 天前
repo xml语法
xml