java - org.springframework.boot:spring-boot-starter-parent:pom:2.0.2.RELEASE 传输失败
问题描述
当我使用 spring 工具套件启动我的第一个 spring 应用程序时遇到问题,这是错误,位于 POM.XML 中:
Project build error: Non-resolvable parent POM: Failure to transfer org.springframework.boot:spring-boot-starter-parent:pom:2.0.2.RELEASE from http://repo.maven.apache.org/maven2 was cached in the local repository, resolution will not be reattempted until the update interval of central has elapsed or updates are forced. Original error: Could not transfer artifact org.springframework.boot:spring-boot-starter-parent:pom:2.0.2.RELEASE from/to central (http://repo.maven.apache.org/maven2): connection timed out to http://repo.maven.apache.org/maven2/org/springframework/boot/spring-boot-starter-parent/2.0.2.RELEASE/spring-boot-starter-parent-2.0.2.RELEASE.pom and 'parent.relativePath' points at no local POM
解决方案
推荐阅读
- c++ - 注册和调用 DLL 回调的正确方法是什么
- django - 用于比较值列表更新的 Django 两个?
- laravel - Laravel:如何在表单中使用 orderBy?
- ssl - 尝试使用 SSL 设置 MQ 连接
- swift - 在 Swift 中更改大标题导航栏的字体
- java - Storm UI 中未创建 Storm 拓扑
- python - 我可以将值与字符串一起附加到输出文本文件吗?
- matlab - 我如何计算数据信号曲线的斜率
- angular - 注入到组件的服务在构造函数之外未定义
- agens-graph - 如何在 AgnsGraph 上的第一个 CYPHER 语句中使用 with 子句?