IDEA Maven配置了阿里云代理还是报错
- IDEA Maven配置了阿里云代理配置不生效
- IDEA Maven代理找不到包
- IDEA Maven remote error
我们可能在pom文件中配置了如下内容:
<repositories><repository><id>alimaven-central</id><name>Maven Aliyun Mirror</name><url>http://maven.aliyun.com/nexus/content/repositories/central/</url><releases><enabled>true</enabled></releases><snapshots><enabled>false</enabled></snapshots></repository>
</repositories>
但对一些包来说还是地报错了,实际上阿里云代理不止一个仓库,部分jar包仅在某个库中存在,具体可以查看代理仓库。
下面分享一个包含全部阿里云maven代理的配置:
<repositories><repository><id>aliyun-central</id><name>Maven Aliyun Central Mirror</name><url>https://maven.aliyun.com/repository/central</url><releases><enabled>true</enabled></releases><snapshots><enabled>false</enabled></snapshots></repository><repository><id>aliyun-public</id><name>Maven Aliyun Public Mirror</name><url>https://maven.aliyun.com/repository/public</url><releases><enabled>true</enabled></releases><snapshots><enabled>false</enabled></snapshots></repository><repository><id>aliyun-google</id><name>Maven Aliyun Google Mirror</name><url>https://maven.aliyun.com/repository/google</url><releases><enabled>true</enabled></releases><snapshots><enabled>false</enabled></snapshots></repository><repository><id>aliyun-gradle-plugin</id><name>Maven Aliyun Gradle Plugin Mirror</name><url>https://maven.aliyun.com/repository/gradle-plugin</url><releases><enabled>true</enabled></releases><snapshots><enabled>false</enabled></snapshots></repository><repository><id>aliyun-spring</id><name>Maven Aliyun Spring Mirror</name><url>https://maven.aliyun.com/repository/spring</url><releases><enabled>true</enabled></releases><snapshots><enabled>false</enabled></snapshots></repository><repository><id>aliyun-spring-plugin</id><name>Maven Aliyun Spring Plugin Mirror</name><url>https://maven.aliyun.com/repository/spring-plugin</url><releases><enabled>true</enabled></releases><snapshots><enabled>false</enabled></snapshots></repository><repository><id>aliyun-core</id><name>Maven Aliyun core Mirror</name><url>https://maven.aliyun.com/repository/grails-core</url><releases><enabled>true</enabled></releases><snapshots><enabled>false</enabled></snapshots></repository><repository><id>aliyun-snapshots</id><name>Maven Aliyun Snapshots Mirror</name><url>https://maven.aliyun.com/repository/apache-snapshots</url><releases><enabled>true</enabled></releases><snapshots><enabled>false</enabled></snapshots></repository>
</repositories>
设置完后再去更新,总有一个库能有需要的东西。若还不行,则在IDEA控制台使用mvn clean
和mvn install
强制安装一下。
IDEA Maven配置了阿里云代理还是报错相关推荐
- 阿里云安装Mysql报错
阿里云安装Mysql报错: The GPG keys listed for the "MySQL 5.7 Community Server" repository are alre ...
- 记录一次阿里云服务器升级报错
记录一次阿里云服务器升级报错 ---Email:1261065212@qq.com 系统: # cat /etc/redhat-release CentOS Linux release 7.4.17 ...
- 2020年:maven配置最新阿里云镜像,以及在IDEA中的设置
记得当初学习Maven的时候,由国外的中央仓库切换为阿里云镜像之后,用起来是辣么地丝滑~ 不过最近一段时间,Maven却总是出现一些问题,本地库里也总是出现一些.lastUpdated文件,类似于下面 ...
- Docker在windows环境 使用阿里云镜像 pull 报错 x509: certificate signed by unknown authority
本人使用的环境是 windows7 ,使用docker toolbox安装, 使用的是阿里云镜像,使用阿里云镜像相关操作阿里云上有操作步骤 https://cr.console.aliyun.com/ ...
- 阿里云部署vmware报错
一.现象: 1. 环境: 阿里云 :windows server 2008 r2 vmware: 12.5.9 build-7535481 (VMware® Workstation 12 Pro) ...
- Navicat连接阿里云服务器MySQL报错2003-Can't connect to MySQL server on 'xxx.xxx.xxx.xxx'(10038)
问题描述: 今天在连接阿里云服务器(Windows Server 2012 R2)上的MySQL时出现,如下图所示的错误: 在网上搜索解决办法时,总结主要包括两个方面: 确定服务器的3306端口对外开 ...
- 阿里云MQ服务报错:No route info of this topic
首先在阿里云的控制面板上配好各个参数,然后一段简单的测试代码: package com.aliyun.openservices.tcp.heaven.producer; import com.aliy ...
- 阿里云yum源报错Peer’s Certificate has expired原因及解决
问题描述: 从阿里云yum下载docker.repo到本地 yum-config-manager \ --add-repo http://mirrors.aliyun.com/docker-ce/li ...
- 连接阿里云RDS数据库报错
本文列出无法连接RDS实例的最常见报错和解决办法. RDS for MySQL或MariaDB TX连接失败 错误信息 原因和解决办法 ERROR 2003 (HY000): Can't connec ...
最新文章
- win10启动修复_win10下以安全模式启动电脑全攻略,装机、修复电脑故障必备
- Python原来这么厉害,我震惊了!
- startssl申请免费ssl证书
- dm8148 videoM3 link源代码解析
- 四阶行列式直接展开_【Just For Fun】n 階行列式計算 宏 生成器,四阶行列式的最优展开...
- iCloud 是什么
- 亚信安全“双引擎”AI技术 亮相2017华为全联接大会
- 删除oracle 连接进程,如何查看和清除oracle无用的连接进程
- 昆仑通态如何连接sqlserver数据库_三菱FX5U 与昆仑通态触摸屏的连接操作步骤
- MySQL技术:InnoDB 存储引擎(不同版本的 Master Thread 工作方式)
- 北京地铁21号线_燕郊地铁M23号线是什么鬼?
- 使用 HTML、CSS 和 JS 的简单倒数计时器
- 10计算机语言代表什么,win10是什么编程语言写的_win10史诗般的巨型编程项目
- 技术债务的高息信用卡:深入了解那些知名的端到端机器学习平台
- 23_字符串的格式化_format 函数_% 占位符 _ f-string _Template _模板字符等
- Java String字符串转Json
- 深入探索C++对象模型之C++对象(vs,gcc,clang测试)
- 关于redis多个哨兵sentinel在阿里云的坑 sdown sentinel或者failover-abort-not-elected
- 未明学院:追剧一个月,我才发现《长安十二时辰》是一部大数据破案指南
- 服务器添加磁盘找不到怎么办
热门文章
- 【转】[中级]我对『PID算法』的理解 —— 原理介绍
- 黄仁勋骗过了全世界,三个多月都没人发觉!皮衣是假的厨房是假的,连他自己都是假的...
- LibreOJ10082. 「一本通 3.3 例 1」Word Rings【二分+SPFA】
- 远景会员定制GHOST WIN7 2010珍藏版
- 基础教育弊端日益显现 中国课程改革势在必行
- GIT科普系列5:index in git
- 【剑指Offer打卡】48. 最长不含重复字符的子字符串
- apple tv设置_如何设置Apple TV以自动安装iPhone的应用程序
- 数据存储策略——lsm-tree
- 老板,我们的网站又挂了——漫谈 DDoS 攻击