无法解析依赖关系...直到更新间隔已过或强制更新

时间:2016-10-07 09:43:30

标签: java maven jena

在尝试编译Jena时,我遇到了以下错误:

[ERROR] Failed to execute goal on project jena-elephas-stats: Could not resolve dependencies for project org.apache.jena:jena-elephas-stats:jar:3.1.1-SNAPSHOT: Failure to find org.apache.jena:jena-ele
phas-mapreduce:jar:tests:3.1.1-SNAPSHOT in https://repository.apache.org/snapshots was cached in the local repository, resolution will not be reattempted until the update interval of apache.snapshots
has elapsed or updates are forced -> [Help 1]

这是什么意思?什么是缓存,在哪里?如何强制更新?

1 个答案:

答案 0 :(得分:2)

我猜你正在和maven一起建造?

使用参数-U构建它。它将迫使maven再次获得所有依赖项。