MC百科社群

标题: forge 1.18.1 模组构建时崩溃 [打印本页]

作者: allenallen1    时间: 2023-10-1 00:53
标题: forge 1.18.1 模组构建时崩溃
[backcolor=var(--bgColor-default, var(--color-canvas-default))]
错误报告:This project is configured to use the official obfuscation mappings provided by Mojang. These mapping fall under their associated license, you should be fully aware of this license. For the latest license text, refer to the mapping file itself, or the reference copy here: https://github.com/MinecraftForge/MCPConfig/blob/master/Mojang.md, You can hide this warning by running the `hideOfficialWarningUntilChanged` task
FAILURE: Build failed with an exception.

* What went wrong:
A problem occurred configuring root project 'second mod'.
> Could not resolve all files for configuration ':_compileJava_1'.
   > Could not resolve net.minecraft:client:1.18.1.
     Required by:
         project :
      > Could not resolve net.minecraft:client:1.18.1.
         > Could not get resource 'https://libraries.minecraft.net/net/minecraft/client/1.18.1/client-1.18.1-extra.jar'.
            > Could not HEAD 'https://libraries.minecraft.net/net/minecraft/client/1.18.1/client-1.18.1-extra.jar'.
               > Connection reset

* 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.

* Get more help at https://help.gradle.org

BUILD FAILED in 18s

早上还好好的,晚上就这样了





作者: Leo_O    时间: 2023-10-2 10:06
兄弟你解决了吗,我1192的也遇到这个问题,现在正头疼
作者: QQ酱477774    时间: 2023-10-4 12:31
好像是资源无法下载,多试几次或者挂梯子
作者: QQ酱477774    时间: 2023-10-4 12:33
QQ酱477774 发表于 2023-10-4 12:31
好像是资源无法下载,多试几次或者挂梯子

看看这个https://tieba.baidu.com/p/7016377861

作者: allenallen1    时间: 2023-10-6 14:50
已经解决了,在我之前看的一篇教程上有个大佬搭了个代理服务器,用那个代理就解决了




欢迎光临 MC百科社群 (https://bbs.mcmod.cn/) MC百科|最大的MineCraft中文模组百科