Non-resolvable parent POM for com.supermarket:supermarket:0.0.1-SNAPSHOT: Could not transfer artifac

葛承德
2023-12-01

导入一个maven项目,编译报错

F:\code\supermarket\supermarket>mvn compile
[INFO] Scanning for projects...
Downloading from alimaven: https://maven.aliyun.com/repository/central/org/springframework/boot/spring-boot-starter-parent/2.1.8.RELEASE/spring-boot-starter-parent-2.1.8.RELEASE.pom
[ERROR] [ERROR] Some problems were encountered while processing the POMs:
[FATAL] Non-resolvable parent POM for com.supermarket:supermarket:0.0.1-SNAPSHOT: Could not transfer artifact org.springframework.boot:spring-boot-starter-parent:pom:2.1.8.RELEASE from/to alimaven (https://maven.aliyun.com/repository/central): Transfer failed for https://maven.aliyun.com/repository/central/org/springframework/boot/spring-boot-starter-parent/2.1.8.RELEASE/spring-boot-starter-parent-2.1.8.RELEASE.pom and 'parent.relativePath' points at wrong local POM @ line 17, column 10
 @
[ERROR] The build could not read 1 project -> [Help 1]
[ERROR]
[ERROR]   The project com.supe
 类似资料: