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

相关推荐
ControlRookie10 小时前
第15篇_Client 04|GET、POST 和 Body 怎样保持一致
http·codesys·plc通信·controlrookie
LitchiCheng12 小时前
还在改xml调相机?MuJoCo交互式可视化调整相机安装位置
xml·数码相机
counting money15 小时前
SpringBoot 项目创建(IDEA不全,还需要修改)
java·spring boot·spring·maven
张小姐的猫16 小时前
【Linux】网络编程 —— 传输层协议 TCP(下)
linux·运维·服务器·网络·tcp/ip·http·php
richard_yuu17 小时前
JSON vs XML vs 二进制:3种序列化终极选型
xml·c++·qt·学习·json
运维全栈笔记2 天前
致远 OA HTTPS 配置避坑指南
网络协议·http·https
A_humble_scholar2 天前
Linux 网络基础(三)下的 HTTP 核心详解:从请求响应到状态管
linux·网络·http
秋田君3 天前
QT_XML文件操作
xml·数据库·qt
编程令我快乐3 天前
maven部分构建参数讲解
java·maven
pcplayer3 天前
Delphi WebService 使用 HTTP Header 管理 Session
http·webservice·soap·web server·http header