IDEA中Maven配置解决

在这个路径下找到 JetBrains\IntelliJ IDEA 2019.1\plugins\maven\lib\maven3\conf settings.xml文件,

setting.xml文件中的url替换成 http://maven.aliyun.com/nexus/content/groups/public/
完整的setting.xml文件如下:

<?xml version="1.0" encoding="UTF-8"?>
<settings xmlns="http://maven.apache.org/SETTINGS/1.0.0"xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"xsi:schemaLocation="http://maven.apache.org/SETTINGS/1.0.0 http://maven.apache.org/xsd/settings-1.0.0.xsd"><mirrors><mirror><id>alimaven</id><name>aliyun maven</name><url>http://maven.aliyun.com/nexus/content/groups/public/</url><mirrorOf>central</mirrorOf>
</mirror></mirrors>
</settings>

参考文档
https://blog.csdn.net/CringKong/article/details/89414445

Connect to repo.maven.apache.org:443 [repo.maven.apache.org/151.101.24.215] failed: connect timed ou相关推荐

  1. 编译问题追踪 :Connect to maven.google.com:443 [maven.google.com/172.217.160.110] failed: Connection timed

    编译问题追踪 :Connect to maven.google.com:443 [maven.google.com/172.217.160.110] failed: Connection timed ...

  2. Connect to maven.google.com:443 [maven.google.com] failed: Connection timed out: connect 解决办法

    当 build.gradle进行上述配置的话,总会出现如下情况: Could not resolve all artifacts for configuration ':classpath'.     ...

  3. Apache的443端口被占用解决方法

    Apache的443端口被占用解决方法 参考文章: (1)Apache的443端口被占用解决方法 (2)https://www.cnblogs.com/wsw-blog/p/10477506.html ...

  4. git遇到错误: Failed connect to github.com:443

    git遇到错误: Failed connect to github.com:443 1 错误原因 2 解决方式 3 其他方式 1 错误原因 我是在git push -u origin master时遇 ...

  5. Failed connect to github.com:443; No error

    任务目标:将线上已有的https://github.com/eyjian/mooon.git克隆到本地的E:\GitHub\mooon目录 问题描述:使用Git的Windows客户端UI工具GitHu ...

  6. failed to connect to raw.githubusercontent.com port 443: Connection refused

    failed to connect to raw.githubusercontent.com port 443: Connection refused 遇到问题 解决方案 oh-my-zsh nvm ...

  7. eclipse 配置Maven问题解决办法:新建maven工程时报错:Could not resolve archetype org.apache.maven.archetypes .

    eclipse 配置Maven问题解决办法:新建maven工程时报错:Could not resolve archetype org.apache.maven.archetypes . 参考文章: ( ...

  8. 记一次npm install 报RequestError: connect ETIMEDOUT 20.205.243.166:443和RequestError: socket hang up

    今早安装 electron 时突然报 RequestError: connect ETIMEDOUT 20.205.243.166:443 然后尝试 ping github.com 超时了 之后去 h ...

  9. CNdeepdive 安装报错:deepdive Failed connect to raw.githubusercontent.com:443; Connection refused

    CNdeepdive 安装报错:deepdive Failed connect to raw.githubusercontent.com:443; Connection refused 问题描述: 问 ...

最新文章

  1. linux系统未来或应用广泛
  2. SM$TS_USED,SM$TS_FREE,SM$TS_AVAIL
  3. DataFrame 学习笔记
  4. Caddy Web服务器QUIC部署
  5. Halcon —— 图像像素类型与转换
  6. setInterval和setTimeout的使用区别
  7. 加密Python脚本
  8. Vue Router 4 快速入门
  9. 如何在div中垂直对齐图像
  10. python需要下载哪些软件-80%的人都不知道,全球Python库下载前10名
  11. 机器学习- 吴恩达Andrew Ng Week11 知识总结 Photo OCR
  12. 启动 Tomcat 日志乱码问题
  13. 用链表编写教师信息管理系统
  14. PHP学习总结(二)
  15. 韩信点兵python程序_韩信点兵(C语言代码)
  16. python发微博头条文章_Python脚本实现自动发带图的微博
  17. flutter 多版本管理利器fvm的详细使用介绍
  18. 关于styleSheets1:获取css样式
  19. Sumatra PDF阅读器——快捷键与配置
  20. MacOX以及XCode下文件结束符(EOF)的输入

热门文章

  1. android textview 必填,在android中如何使用Html渲染的方式实现必填项前面的*号
  2. OpenShift 4 之AMQ Streams(1) - 多个Consumer从Partition接收数据
  3. AI队列长度检测:使用Keras进行对象检测
  4. Git 源码禁止使用 C 标准库中容易被错用的函数
  5. java怎么申请变量_java怎么声明变量
  6. wechat.php+获取昵称,微信后台代码,获取用户昵称
  7. ios 数组中的字典排序_题解 | 26.删除排序数组中的重复项
  8. 白月黑羽教python_白月黑羽Python在线教程
  9. tp5 空格拆分关键词,多个关键词进行查询
  10. c语言 define宏名称if(参数),宏编程基础内容