簡體   English   中英

安裝Spring項目時出現Maven問題

[英]Maven issue while installing Spring project

最近參加了Spring Core培訓。 在課程結束后安裝項目並將項目轉換為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

我也嘗試添加相對路徑,但沒有幫助。

<parent>
    <groupId>com.springsource.training.core-spring</groupId>
    <artifactId>parentCoreSpringProject</artifactId>
    <version>4.0.0.CI-SNAPSHOT</version>
</parent>

消息非常清楚-pom指向您無權訪問的存儲庫。

獲取訪問權限,或更改其指向的存儲庫。

(Maven從服務器下載了必需的依賴項(jar文件),顯然您無權訪問指定的服務器,但可以使用公共服務器/存儲庫來代替)

暫無
暫無

聲明:本站的技術帖子網頁,遵循CC BY-SA 4.0協議,如果您需要轉載,請注明本站網址或者原文地址。任何問題請咨詢:yoyou2525@163.com.

 
粵ICP備18138465號  © 2020-2024 STACKOOM.COM