当我为Min克拉夫特版本1.18.2和java 17创建一个Min克拉夫特锻造mod项目时,我就会得到折叠错误:
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
给定的文档也不需要实际的帮助。
发布于 2022-05-31 22:02:24
可能是你的缓存出了问题,所以把它从
C:\Users\Hendrik.gradle\caches\forge_gradle
并重新运行genEclipseRuns
https://stackoverflow.com/questions/72450372
复制相似问题