[英]Maven issue while installing Spring project
Attended Spring Core training recently. 最近参加了Spring Core培训。 When I installed the projects after the course and converted the projects as a Maven project, I get the following error.
在课程结束后安装项目并将项目转换为Maven项目时,出现以下错误。
Project build error: Non-resolvable parent POM: The repository system is offline but the artifact com.springsource.training.core-spring:parentCoreSpringProject:pom:
4.0.0.CI-SNAPSHOT is not available in the local repository. and 'parent.relativePath' points at wrong local POM
I tried adding relative-path too, but it did not help. 我也尝试添加相对路径,但没有帮助。
<parent>
<groupId>com.springsource.training.core-spring</groupId>
<artifactId>parentCoreSpringProject</artifactId>
<version>4.0.0.CI-SNAPSHOT</version>
</parent>
The message is pretty clear - the pom points to a repository that you don;t have access to. 消息非常清楚-pom指向您无权访问的存储库。
Either get access, or change the repository it points to. 获取访问权限,或更改其指向的存储库。
(maven downloads required dependencies(jar files) from a server and apparently you don't have access to specified server but you can use public servers/repositories instead) (Maven从服务器下载了必需的依赖项(jar文件),显然您无权访问指定的服务器,但可以使用公共服务器/存储库来代替)
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.