错误报告:
A problem occurred configuring root project 'forge-1.17.1-37.0.53-mdk'.
> Could not resolve all files for configuration ':_compileJava_1'.
> Could not download icu4j-66.1.jar (com.ibm.icu:icu4j:66.1)
> Could not get resource 'https://maven.minecraftforge.net/com/ibm/icu/icu4j/66.1/icu4j-66.1.jar'.
> Premature end of Content-Length delimited message body (expected: 12,935,630; received: 6,041,008)
> Could not download fastutil-8.2.1.jar (it.unimi.dsi:fastutil:8.2.1)
> Could not get resource 'https://maven.minecraftforge.net/it/unimi/dsi/fastutil/8.2.1/fastutil-8.2.1.jar'.
> Premature end of Content-Length delimited message body (expected: 18,800,417; received: 3,661,296)
* Try:
Run with --stacktrace option to get the stack trace. Run with --info or --debug option to get more log output. Run with --scan to get full insights.我试过很多次了,这个错误总是会发生。
MinecraftForge版本:1.17.1 Java版本:1.17.1-37.0.53 Java版本:1.16
我需要检查我的互联网连接吗?或者mavenhttps://maven.minecraftforge.net有什么问题?(我添加了镜像https://lss233.littleservice.cn/repositories/minecraft,但没有解决问题)
请帮帮我!
build.gradle在这里
发布于 2021-09-09 12:31:03
这个问题可能是由于以下所述的一个或多个问题造成的:
尝试导航到MDK文件夹并运行gradlew eclipse命令。请正确地发布您的build.gradle文件,它不会打开:)。
https://stackoverflow.com/questions/69040496
复制相似问题