首页
学习
活动
专区
圈层
工具
发布
首页
学习
活动
专区
圈层
工具
MCP广场
社区首页 >问答首页 >无法解析配置的所有文件“:runtimeClasspathCopy”

无法解析配置的所有文件“:runtimeClasspathCopy”
EN

Stack Overflow用户
提问于 2022-05-31 15:19:32
回答 1查看 728关注 0票数 0

当我为Min克拉夫特版本1.18.2和java 17创建一个Min克拉夫特锻造mod项目时,我就会得到折叠错误:

代码语言:javascript
运行
复制
Could not resolve all files for configuration ':runtimeClasspathCopy'.
> Could not find net.minecraftforge:forge:1.18.2-40.1.25_mapped_official_1.18.2.
  Searched in the following locations:
    - file:/C:/Users/Hendrik/.gradle/caches/forge_gradle/bundeled_repo/net/minecraftforge/forge/1.18.2-40.1.25_mapped_official_1.18.2/forge-1.18.2-40.1.25_mapped_official_1.18.2.pom
    - file:/C:/Users/Hendrik/.gradle/caches/forge_gradle/bundeled_repo/net/minecraftforge/forge/1.18.2-40.1.25_mapped_official_1.18.2/forge-1.18.2-40.1.25_mapped_official_1.18.2.jar
  Required by:
      project :

Possible solution:
 - Declare repository providing the artifact, see the documentation at https://docs.gradle.org/current/userguide/declaring_repositories.html

给定的文档也不需要实际的帮助。

EN

回答 1

Stack Overflow用户

回答已采纳

发布于 2022-05-31 22:02:24

可能是你的缓存出了问题,所以把它从

C:\Users\Hendrik.gradle\caches\forge_gradle

并重新运行genEclipseRuns

票数 0
EN
页面原文内容由Stack Overflow提供。腾讯云小微IT领域专用引擎提供翻译支持
原文链接:

https://stackoverflow.com/questions/72450372

复制
相关文章

相似问题

领券
问题归档专栏文章快讯文章归档关键词归档开发者手册归档开发者手册 Section 归档