BakaXL-Launcher / BakaXL

BakaXL 项目门户 / BakaXL Project's Portal
https://www.BakaXL.com
299 stars 55 forks source link

1.21版本neoforge启动失败 #711

Open Wuemoas opened 3 months ago

Wuemoas commented 3 months ago

检查项

遇到的问题

[spoiler]游戏核心:NeoForge-21.0.146 启动内存:8096 MB 操作系统:Microsoft Windows 11 专业版 x64 ———————————————————— CPU:#0AMD Ryzen 5 5500 内存:16273 显卡:#0AMD Radeon RX 6700 XT ———————————————————— 核心路径:D:\.minecraft\versions\NeoForge-21.0.146 Java信息:C:\Program Files\Zulu\zulu-21\bin\javaw.exe (Java21.0.3 64 Bit) BakaXL路径:D:\BakaXL_Public_Ver_3.5.0.0.exe ———————————————————— 错误日志: 由 BakaXL 记录的 Minecraft 日志流: Exception in thread "main" java.lang.module.ResolutionException: Modules org.apache.logging.log4j.slf4j2.impl and org.apache.logging.log4j.slf4j export package org.apache.logging.slf4j to module io.netty.transport.classes.epoll at java.base/java.lang.module.Resolver.resolveFail(Resolver.java:900) at java.base/java.lang.module.Resolver.failTwoSuppliers(Resolver.java:814) at java.base/java.lang.module.Resolver.checkExportSuppliers(Resolver.java:754) at java.base/java.lang.module.Resolver.finish(Resolver.java:380) at java.base/java.lang.module.Configuration.(Configuration.java:139) at java.base/java.lang.module.Configuration.resolveAndBind(Configuration.java:493) at java.base/java.lang.module.Configuration.resolveAndBind(Configuration.java:297) at cpw.mods.bootstraplauncher@2.0.2/cpw.mods.bootstraplauncher.BootstrapLauncher.run(BootstrapLauncher.java:196) at cpw.mods.bootstraplauncher@2.0.2/cpw.mods.bootstraplauncher.BootstrapLauncher.main(BootstrapLauncher.java:69)

[/spoiler]

期望的结果

正常启动

如何重现此问题?

启动最新1.21版本的neoforge

可能造成问题的原因

应该是neoforge爆改了启动流程,应该吧qwq

系统环境

windows11 专业版 23H2

启动器版本

构建通道:Parrot鹦鹉通道(每日更新) 构建日期及版本:Build.2024.07.22.2024

附注

No response

163touk commented 3 months ago

解决问题了吗,我也遇到了QAQ

Pigeon0v0 commented 3 months ago

遇到问题先在群里问...

liuxuefeng1997 commented 2 months ago

解决问题了吗,我也遇到了QAQ

我怀疑是Neoforge的锅,有一个临时的解决方法在version\neoforge-21.x.x目录找到json文件neoforge-21.x.x.json

搜索删除如下内容: {"name":"org.apache.logging.log4j:log4j-slf4j2-impl:2.19.0@jar","downloads":{"artifact":{"sha1":"5c04bfdd63ce9dceb2e284b81e96b6a70010ee10","size":27721,"url":"https://libraries.minecraft.net/org/apache/logging/log4j/log4j-slf4j2-impl/2.19.0/log4j-slf4j2-impl-2.19.0.jar","path":"org/apache/logging/log4j/log4j-slf4j2-impl/2.19.0/log4j-slf4j2-impl-2.19.0.jar"}}},

然后就可以正常启动游戏了,目前没发现有问题,适用于1.21和1.21.1的Neoforge