Java 无法解析依赖项。。。直到更新间隔结束或强制更新
在尝试编译Jena时,我遇到了以下错误:Java 无法解析依赖项。。。直到更新间隔结束或强制更新,java,maven,jena,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
[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]
这是什么意思?缓存了什么以及缓存在哪里?如何强制更新?我想你是在用maven进行构建
使用参数-U构建它。它将迫使maven再次获取所有依赖项。我猜您是在使用maven构建吗
使用参数-U构建它。它将强制maven再次获取所有依赖项。您真的使用快照版本吗?您真的使用快照版本吗?