gpt4 book ai didi

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

转载 作者:行者123 更新时间:2023-12-02 03:18:49 24 4
gpt4 key购买 nike

在尝试编译 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]

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

最佳答案

我猜你是用 Maven 构建的?

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

关于java - 无法解决依赖关系...直到更新间隔已过或强制更新,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/39914204/

24 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com