[英]Maven pom.xml missing dependency error: artifacts could not be resolved
即使多次“ mvn clean install”并重新导入pom.xml,该错误也不会消失。
[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]
尽管pom显然具有依赖性:
<dependency>
<groupId>org.neo4j</groupId>
<artifactId>neo4j-spatial</artifactId>
<version>0.12-neo4j-2.0.4</version>
</dependency>
最奇怪的是,我什至不认为我在项目中需要它,它只是开始抱怨它。
到目前为止,我猜测这与某种版本不匹配有关?
"diff_match_patch" etc
如果转到日志中显示的URL thart,您将看到该库不存在。 您可能需要更改版本或设置其他回购。
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.