首页 文章

项目构建错误:com.in28minutes.springboot的不可解析的父POM:H2InMemoryDbDemo:0.0.1-SNAPSHOT

提问于
浏览
0

我是 Spring 季靴子的初学者 . 我按照入门指南进行操作 . 它没有成功 . 之后我从这个链接导入一个项目

http://www.springboottutorial.com/introduction-to-jpa-with-spring-boot-data-jpa .

它给出了这个错误

“项目构建错误:com.in28minutes.springboot的不可解析的父POM:H2InMemoryDbDemo:0.0.1-SNAPSHOT:无法传输org.springframework.boot:spring-boot-starter-parent:pom:2.0.0.RELEASE from https://repo.maven.apache.org/maven2缓存在本地存储库中,在中心的更新间隔过去或强制更新之前,不会重新尝试解析 . 原始错误:无法传输工件org.springframework.boot:spring-boot-starter-parent:pom:2.0 .0.RELEASE from / to central(https://repo.maven.apache.org/maven2):连接超时和'parent.relativePath'点在没有本地POM“

我想我错过了一些重要的配置 .

谢谢

1 回答

  • 0

    您是否尝试在parent标记下添加relativePath标记,relativepath的默认位置是... else在.m2文件夹位置下的settings.xml中定义代理 .

相关问题