【发布时间】:2017-02-13 06:16:25
【问题描述】:
解决方案是删除特定的工件目录。但是我如何找到它在哪里呢?
按照here 的建议运行mvn clean install -U 对我不起作用。它给出了错误:
Could not find artifact <artifact info>... in central (https://repo.maven.apache.org/maven2)
【问题讨论】:
-
你的本地仓库通常在用户的主目录.m2/repository/下,你是这个意思吗?
-
这不是您问题的直接答案,但请尝试
mvn dependency:purge-local-repository(仅运行此操作往往会导致构建失败,所以我可能会遗漏一些东西......但它似乎成功地从本地仓库)