= 创作分享 =
你问我答
forge 1.18.1 模组构建时崩溃
allenallen1

forge 1.18.1 模组构建时崩溃

allenallen1 于 2023-10-1 00:53 ( 7月前 ) [复制链接] [只看楼主] [打印]
837 4
5RF
[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

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




发表于 2023-10-1 00:53:12 | 只看该作者 回帖奖励 |倒序浏览 |阅读模式

回复 | 举报

该帖共收到 4 条回复!
Leo_O
兄弟你解决了吗,我1192的也遇到这个问题,现在正头疼
发表于 2023-10-2 10:06:58 | 只看该作者

回复 | 举报

QQ酱477774
好像是资源无法下载,多试几次或者挂梯子
发表于 2023-10-4 12:31:20 | 只看该作者

回复 | 举报

QQ酱477774
QQ酱477774 发表于 2023-10-4 12:31
好像是资源无法下载,多试几次或者挂梯子

看看这个https://tieba.baidu.com/p/7016377861
发表于 2023-10-4 12:33:52 | 只看该作者

回复 | 举报

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

回复 | 举报

百科目前不允许匿名发帖哦~ 请先 [ 登陆 ][ 注册 ] 吧~

本版积分规则

发新帖
  • 回复
  • 点评
  • 评分

[ MC百科(mcmod.cn) 除另有声明,所有开放公共编辑的内容均使用 BY-NC-SA 3.0 协议 ]

Minecraft百科CC协议
快速回复 返回顶部 返回列表