2017-02-07 98 views
-1

這個錯誤不會消失即使經過多次 'MVN全新安裝',然後重新導入的pom.xml的Maven的pom.xml中缺少depency錯誤

[ERROR] Failed to execute goal on project foo: 
Could not resolve dependencies for project be.foo:foo:jar:2.0-SNAPSHOT: 
The following artifacts could not be resolved: 
org.neo4j:neo4j-spatial:jar:0.12-neo4j-2.0.4, 
diff_match_patch:diff_match_patch:jar:current: 

Failure to find org.neo4j:neo4j-spatial:jar:0.12-neo4j-2.0.4 in 
https://repo.spring.io/libs-release was cached in the local repository, 
resolution will not be reattempted until the update interval of spring-releases has elapsed or updates are forced -> [Help 1] 

eventhough的POM顯然有依賴關係:

<dependency> 
     <groupId>org.neo4j</groupId> 
     <artifactId>neo4j-spatial</artifactId> 
     <version>0.12-neo4j-2.0.4</version> 
    </dependency> 

最奇怪的是,我甚至不認爲我的項目需要這個,它只是開始抱怨。

到目前爲止,我猜測它必須處理某種版本的不匹配?

"diff_match_patch" etc 
+0

'mvn clean install -U'? –

+0

https://repo.spring.io/libs-release/org/neo4j/neo4j-spatial/ ...在這裏,檢查一下這個回購支持哪些版本以及你請求的是哪個版本...... //編輯:even mvnrepo不知道該版本:https://mvnrepository.com/artifact/org.neo4j/neo4j-spatial ... – Tom

+0

我檢查了Maven存儲庫,我還沒有找到這樣的任何版本化的依賴關係。更改版本。鏈接供您參考是:https://mvnrepository.com/artifact/org.neo4j/neo4j-spatial 檢查它的版本0.12x – Darshit

回答

2

如果您轉到日誌中顯示的URL,您會看到該庫不在那裏。您可能需要更改版本或設置不同的回購。

相關問題