shimh-develop / blog-vue-springboot

基于Vue+SpringBoot构建的博客项目
1.93k stars 552 forks source link

pom.xml 报错,<parent>红线 报错内容 :Project build error: Non-resolvable parent POM for com.shimh:blog-api:0.0.1-SNAPSHOT: Could not transfer artifact org.springframework.boot:spring-boot-starter-parent:pom:1.5.9.RELEASE from/to public (http://maven.aliyun.com/nexus/content/groups/public/): /Users/xubin/workspace/maven-repository/org/springframework/boot/spring-boot-starter-parent/1.5.9.RELEASE/aether-9076f83f-d70e-49bb-902b-ac6d42ecafcc-spring-boot-starter-parent-1.5.9.RELEASE.pom-in-progress (No such file or directory) and 'parent.relativePath' points at no local POM #8

Open jonybins opened 5 years ago

jonybins commented 5 years ago

我拉下来代码后,用eclipse打开 导入 选择 Existing Maven Projects 后,就出现 pom.xml 有个红叉,提示内容为:

Project build error: Non-resolvable parent POM for com.shimh:blog-api:0.0.1-SNAPSHOT: Could not transfer artifact org.springframework.boot:spring-boot-starter-parent:pom:1.5.9.RELEASE from/to public (http://maven.aliyun.com/nexus/content/groups/public/): /Users/xubin/workspace/maven-repository/org/springframework/boot/spring-boot-starter-parent/1.5.9.RELEASE/aether-9076f83f-d70e-49bb-902b-ac6d42ecafcc-spring-boot-starter-parent-1.5.9.RELEASE.pom-in-progress (No such file or directory) and 'parent.relativePath' points at no local POM

shimh-develop commented 5 years ago

你没有更新项目么,右键项目> Maven> Update Project @Jonybin

jonybins commented 5 years ago

你没有更新项目么,右键项目> Maven> Update Project @Jonybin

刚解决了。是我的sdk版本不对。应该是1.8的。我下载最新的了。