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

相关推荐
霜落长河5 天前
抛弃TCP改用UDP,HTTP3怎么了?
http
小宇宙Zz6 天前
Maven依赖冲突
java·服务器·maven
之歆6 天前
现代 HTTP 客户端深度解析:Fetch 与 Axios
chrome·网络协议·http
砚底藏山河6 天前
沪深A股:如何获取基金持股数据
java·python·数据分析·maven
一勺菠萝丶6 天前
Maven SNAPSHOT 父 POM 无法解析问题排查
java·maven
tianyuanwo6 天前
深入解析 RISC-V 虚拟化中的 UEFI 固件配置:从 XML 到 NVRAM 的生命周期管理
xml·linux·risc-v
我登哥MVP6 天前
SpringCloud Alibaba 核心组件解析:服务链路追踪
java·spring boot·后端·spring·spring cloud·java-ee·maven
程序员mine6 天前
HTTPS-TLS加密与证书完全指南(下)
网络协议·http·https
南部余额6 天前
Maven Archetype 项目模板
java·maven·项目·archetype
梦想的旅途26 天前
企业微信外部群自动化:一期交付应聚焦双向会话闭环
java·开发语言·机器人·自动化·maven·企业微信