【发布时间】:2023-01-23 12:07:31
【问题描述】:
我只是从 spring initializer 下载应用程序并将 maven 项目导入到 eclipse。
错误:
Multiple markers at this line
- Non-resolvable parent POM for xxxxx:PasswordSafer:0.0.1-SNAPSHOT: org.springframework.boot:spring-boot-starter-parent:pom:2.6.3 failed to transfer from https://repo.maven.apache.org/maven2 during a previous attempt. This failure was cached in the local repository and resolution is not 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.6.3 from/to central (https://repo.maven.apache.org/maven2): Connection reset
- Project build error: Non-resolvable parent POM for xxxxxxx:PasswordSafer:0.0.1-SNAPSHOT: org.springframework.boot:spring-boot-starter-parent:pom:2.6.3 failed to transfer from https://repo.maven.apache.org/maven2 during a previous attempt. This failure was cached in the local repository and resolution is not 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.6.3 from/to central (https://repo.maven.apache.org/maven2): Connection reset and 'parent.relativePath' points at no local POM
我尝试更新 maven --> “更新 Maven 项目”(使用快照/发布的强制更新)。但仍然是错误。
【问题讨论】:
标签: java spring-boot maven