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

相关推荐
qq_589568101 小时前
springbootweb案例,出现访问 http://localhost:8080/list 一直处于浏览器运转阶段
java·网络协议·http·list·springboot
hhb_61815 小时前
XML数据解析与节点配置实操案例教程
xml
Yupureki16 小时前
《Linux网络编程》4.应用层HTTP协议
linux·服务器·c语言·网络·c++·http
身如柳絮随风扬1 天前
GET请求能带Body吗?GET与POST的核心区别全解析
http
myrh pdmd1 天前
maven导入spring框架
数据库·spring·maven
Gh0st_Lx2 天前
【6】为什么有了 HTTP/1.1 ,还要 HTTP/2 和 HTTP/3
网络协议·http·php
学编程就要猛2 天前
JavaEE初阶:网络原理-HTTP(下)
网络·网络协议·http
Ruci ALYS2 天前
SpringBoot Maven快速上手
spring boot·后端·maven
咱那飘逸的长发2 天前
Trae java项目配置全局maven和jdk
java·python·maven
网络系统管理2 天前
解决edge浏览器访问https网站报错问题
网络协议·http·https