下载PCL2解压后,却怎么也打不开程序。弹框说“系统资源不足”后程序就消失了,需要重新解压,尝试过很多次都是这样
HMCL我也试过,可以下载和打开程序,低版本可以但高版本下载后总是弹错,比如1.18.1,我取消了Forge和optifine的安装后重新安装游戏,发现第一次可以运行,但当我关掉重新进入又出现了弹窗报错,现在第一次都打不开了。然后我查找论坛上的问题解决方法。我查看了我的JAVA版本,是17的,在C盘里,内存也够,就是不知道什么原因。我已经搞了一个下午了,还是选着大佬救命吧,我只想玩我的世界有这么难吗。。。
HMCL我也试过,可以下载和打开程序,低版本可以但高版本下载后总是弹错,比如1.18.1,我取消了Forge和optifine的安装后重新安装游戏,发现第一次可以运行,但当我关掉重新进入又出现了弹窗报错,现在第一次都打不开了。然后我查找论坛上的问题解决方法。我查看了我的JAVA版本,是17的,在C盘里,内存也够,就是不知道什么原因。我已经搞了一个下午了,还是选着大佬救命吧,我只想玩我的世界有这么难吗。。。
有报错啥的你至少贴个截图出来
有报告最好 什么都没有怎么帮你解决问题呢
有报告最好 什么都没有怎么帮你解决问题呢
Exception in thread "main" java.lang.NoClassDefFoundError: org/apache/logging/log4j/core/lookup/StrLookup
at MC-BOOTSTRAP/[email protected]/org.apache.logging.log4j.core.LoggerContext.<clinit>(LoggerContext.java:85)
at MC-BOOTSTRAP/[email protected]/org.apache.logging.log4j.core.selector.ClassLoaderContextSelector.createContext(ClassLoaderContextSelector.java:254)
at MC-BOOTSTRAP/[email protected]/org.apache.logging.log4j.core.selector.ClassLoaderContextSelector.locateContext(ClassLoaderContextSelector.java:218)
at MC-BOOTSTRAP/[email protected]/org.apache.logging.log4j.core.selector.ClassLoaderContextSelector.getContext(ClassLoaderContextSelector.java:136)
at MC-BOOTSTRAP/[email protected]/org.apache.logging.log4j.core.selector.ClassLoaderContextSelector.getContext(ClassLoaderContextSelector.java:123)
at MC-BOOTSTRAP/[email protected]/org.apache.logging.log4j.core.selector.ClassLoaderContextSelector.getContext(ClassLoaderContextSelector.java:117)
at MC-BOOTSTRAP/[email protected]/org.apache.logging.log4j.core.impl.Log4jContextFactory.getContext(Log4jContextFactory.java:150)
at MC-BOOTSTRAP/[email protected]/org.apache.logging.log4j.core.impl.Log4jContextFactory.getContext(Log4jContextFactory.java:47)
at MC-BOOTSTRAP/[email protected]/org.apache.logging.log4j.LogManager.getContext(LogManager.java:196)
at MC-BOOTSTRAP/[email protected]/org.apache.logging.log4j.LogManager.getLogger(LogManager.java:599)
at MC-BOOTSTRAP/[email protected]/org.apache.logging.log4j.LogManager.getLogger(LogManager.java:585)
at MC-BOOTSTRAP/[email protected]/cpw.mods.modlauncher.Launcher.main(Launcher.java:76)
at MC-BOOTSTRAP/[email protected]/cpw.mods.modlauncher.BootstrapLaunchConsumer.accept(BootstrapLaunchConsumer.java:26)
at MC-BOOTSTRAP/[email protected]/cpw.mods.modlauncher.BootstrapLaunchConsumer.accept(BootstrapLaunchConsumer.java:23)
at [email protected]/cpw.mods.bootstraplauncher.BootstrapLauncher.main(BootstrapLauncher.java:90)
Caused by: java.lang.ClassNotFoundException: org.apache.logging.log4j.core.lookup.StrLookup
at [email protected]/cpw.mods.cl.ModuleClassLoader.loadClass(ModuleClassLoader.java:135)
at java.base/java.lang.ClassLoader.loadClass(ClassLoader.java:520)
... 15 more
这是日志
at MC-BOOTSTRAP/[email protected]/org.apache.logging.log4j.core.LoggerContext.<clinit>(LoggerContext.java:85)
at MC-BOOTSTRAP/[email protected]/org.apache.logging.log4j.core.selector.ClassLoaderContextSelector.createContext(ClassLoaderContextSelector.java:254)
at MC-BOOTSTRAP/[email protected]/org.apache.logging.log4j.core.selector.ClassLoaderContextSelector.locateContext(ClassLoaderContextSelector.java:218)
at MC-BOOTSTRAP/[email protected]/org.apache.logging.log4j.core.selector.ClassLoaderContextSelector.getContext(ClassLoaderContextSelector.java:136)
at MC-BOOTSTRAP/[email protected]/org.apache.logging.log4j.core.selector.ClassLoaderContextSelector.getContext(ClassLoaderContextSelector.java:123)
at MC-BOOTSTRAP/[email protected]/org.apache.logging.log4j.core.selector.ClassLoaderContextSelector.getContext(ClassLoaderContextSelector.java:117)
at MC-BOOTSTRAP/[email protected]/org.apache.logging.log4j.core.impl.Log4jContextFactory.getContext(Log4jContextFactory.java:150)
at MC-BOOTSTRAP/[email protected]/org.apache.logging.log4j.core.impl.Log4jContextFactory.getContext(Log4jContextFactory.java:47)
at MC-BOOTSTRAP/[email protected]/org.apache.logging.log4j.LogManager.getContext(LogManager.java:196)
at MC-BOOTSTRAP/[email protected]/org.apache.logging.log4j.LogManager.getLogger(LogManager.java:599)
at MC-BOOTSTRAP/[email protected]/org.apache.logging.log4j.LogManager.getLogger(LogManager.java:585)
at MC-BOOTSTRAP/[email protected]/cpw.mods.modlauncher.Launcher.main(Launcher.java:76)
at MC-BOOTSTRAP/[email protected]/cpw.mods.modlauncher.BootstrapLaunchConsumer.accept(BootstrapLaunchConsumer.java:26)
at MC-BOOTSTRAP/[email protected]/cpw.mods.modlauncher.BootstrapLaunchConsumer.accept(BootstrapLaunchConsumer.java:23)
at [email protected]/cpw.mods.bootstraplauncher.BootstrapLauncher.main(BootstrapLauncher.java:90)
Caused by: java.lang.ClassNotFoundException: org.apache.logging.log4j.core.lookup.StrLookup
at [email protected]/cpw.mods.cl.ModuleClassLoader.loadClass(ModuleClassLoader.java:135)
at java.base/java.lang.ClassLoader.loadClass(ClassLoader.java:520)
... 15 more
这是日志
多爱的包子脸 发表于 2022-1-14 17:32
Exception in thread "main" java.lang.NoClassDefFoundError: org/apache/logging/log4j/core/lookup/StrL ...
请前往hmcl官方下载页面,往下翻页,下载开发版(还是叫测试版?)hmcl
kuzuanpa 发表于 2022-1-14 17:37
请前往hmcl官方下载页面,往下翻页,下载开发版(还是叫测试版?)hmcl
俺去试试
SLF4J: No SLF4J providers were found.
SLF4J: Defaulting to no-operation (NOP) logger implementation
SLF4J: See http://www.slf4j.org/codes.html#noProviders for further details.
试验过测试版了,第一次将forge 和 optifine 一起下载了并成功打开了游戏,但,高兴没一会,我退出后再次运行发现,,,这三行东西
SLF4J: Defaulting to no-operation (NOP) logger implementation
SLF4J: See http://www.slf4j.org/codes.html#noProviders for further details.
试验过测试版了,第一次将forge 和 optifine 一起下载了并成功打开了游戏,但,高兴没一会,我退出后再次运行发现,,,这三行东西
多爱的包子脸 发表于 2022-1-14 18:58
SLF4J: No SLF4J providers were found.
SLF4J: Defaulting to no-operation (NOP) logger implementation
...
补充:这三行第一次运行就有了,我重新开了一个,也是第二次登录就卡在这三行红码后就无法继续运行,之后就无论多少次都卡在这里了,报告上显示“崩溃原因未知”
这是日志
2022-01-14 19:11:10,986 main WARN JNDI lookup class is not available because this JRE does not support JNDI. JNDI string lookups will not be available, continuing configuration. Ignoring java.lang.ClassCastException: class org.apache.logging.log4j.core.lookup.JndiLookup
[19:11:11] [main/INFO]: ModLauncher running: args [--username, 1, --version, 1.18.11, --gameDir, C:\Users\tangdaqiang\Downloads\.minecraft, --assetsDir, C:\Users\tangdaqiang\Downloads\.minecraft\assets, --assetIndex, 1.18, --uuid, 15468a55d6633077a691aed0be0ffacf, --accessToken, ❄❄❄❄❄❄❄❄, --clientId, ${clientid}, --xuid, ${auth_xuid}, --userType, mojang, --versionType, HMCL 3.5.2.216, --width, 854, --height, 480, --tweakClass, optifine.OptiFineTweaker, --launchTarget, forgeclient, --fml.forgeVersion, 39.0.19, --fml.mcVersion, 1.18.1, --fml.forgeGroup, net.minecraftforge, --fml.mcpVersion, 20211210.034407]
[19:11:11] [main/INFO]: ModLauncher 9.0.7+91+master.8569cdf starting: java version 17.0.1 by Microsoft
[19:11:11] [main/INFO]: OptiFineTransformationService.onLoad
[19:11:11] [main/INFO]: OptiFine ZIP file URL: union:/C:/Users/tangdaqiang/Downloads/.minecraft/libraries/optifine/OptiFine/1.18.1_HD_U_H4/OptiFine-1.18.1_HD_U_H4.jar%2324!
[19:11:11] [main/INFO]: OptiFine ZIP file: C:\Users\tangdaqiang\Downloads\.minecraft\libraries\optifine\OptiFine\1.18.1_HD_U_H4\OptiFine-1.18.1_HD_U_H4.jar
[19:11:11] [main/INFO]: Target.PRE_CLASS is available
[19:11:11] [main/INFO]: SpongePowered MIXIN Subsystem Version=0.8.5 Source=union:/C:/Users/tangdaqiang/Downloads/.minecraft/libraries/org/spongepowered/mixin/0.8.5/mixin-0.8.5.jar%2319! Service=ModLauncher Env=CLIENT
[19:11:11] [main/INFO]: OptiFineTransformationService.initialize
[19:11:11] [main/INFO]: Found mod file fmlcore-1.18.1-39.0.19.jar of type LIBRARY with locator net.minecraftforge.fml.loading.moddiscovery.MinecraftLocator@7561db12
[19:11:11] [main/INFO]: Found mod file javafmllanguage-1.18.1-39.0.19.jar of type LANGPROVIDER with locator net.minecraftforge.fml.loading.moddiscovery.MinecraftLocator@7561db12
[19:11:11] [main/INFO]: Found mod file mclanguage-1.18.1-39.0.19.jar of type LANGPROVIDER with locator net.minecraftforge.fml.loading.moddiscovery.MinecraftLocator@7561db12
[19:11:11] [main/INFO]: Found mod file client-1.18.1-20211210.034407-srg.jar of type MOD with locator net.minecraftforge.fml.loading.moddiscovery.MinecraftLocator@7561db12
[19:11:11] [main/INFO]: Found mod file forge-1.18.1-39.0.19-universal.jar of type MOD with locator net.minecraftforge.fml.loading.moddiscovery.MinecraftLocator@7561db12
2022-01-14 19:11:11,732 main WARN JNDI lookup class is not available because this JRE does not support JNDI. JNDI string lookups will not be available, continuing configuration. Ignoring java.lang.reflect.InvocationTargetException
2022-01-14 19:11:11,737 main WARN Error parsing URI C:\Users\tangdaqiang\Downloads\.minecraft\versions\1.18.11\log4j2.xml
2022-01-14 19:11:11,740 main WARN JNDI lookup class is not available because this JRE does not support JNDI. JNDI string lookups will not be available, continuing configuration. Ignoring java.lang.reflect.InvocationTargetException
2022-01-14 19:11:11,754 main WARN JNDI lookup class is not available because this JRE does not support JNDI. JNDI string lookups will not be available, continuing configuration. Ignoring java.lang.ClassCastException: class org.apache.logging.log4j.core.lookup.JndiLookup
[19:11:12] [main/INFO]: OptiFineTransformationService.transformers
[19:11:12] [main/INFO]: Targets: 342
[19:11:12] [main/INFO]: additionalClassesLocator: [optifine., net.optifine.]
[19:11:12] [main/INFO]: Launching target 'forgeclient' with arguments [--version, 1.18.11, --gameDir, C:\Users\tangdaqiang\Downloads\.minecraft, --assetsDir, C:\Users\tangdaqiang\Downloads\.minecraft\assets, --uuid, 15468a55d6633077a691aed0be0ffacf, --username, 1, --assetIndex, 1.18, --accessToken, ❄❄❄❄❄❄❄❄, --clientId, ${clientid}, --xuid, ${auth_xuid}, --userType, mojang, --versionType, HMCL 3.5.2.216, --width, 854, --height, 480, --tweakClass, optifine.OptiFineTweaker]
2022-01-14 19:11:12,973 main WARN JNDI lookup class is not available because this JRE does not support JNDI. JNDI string lookups will not be available, continuing configuration. Ignoring java.lang.reflect.InvocationTargetException
2022-01-14 19:11:12,978 main WARN Error parsing URI C:\Users\tangdaqiang\Downloads\.minecraft\versions\1.18.11\log4j2.xml
2022-01-14 19:11:12,980 main WARN JNDI lookup class is not available because this JRE does not support JNDI. JNDI string lookups will not be available, continuing configuration. Ignoring java.lang.reflect.InvocationTargetException
2022-01-14 19:11:12,988 main WARN JNDI lookup class is not available because this JRE does not support JNDI. JNDI string lookups will not be available, continuing configuration. Ignoring java.lang.ClassCastException: class org.apache.logging.log4j.core.lookup.JndiLookup
SLF4J: No SLF4J providers were found.
SLF4J: Defaulting to no-operation (NOP) logger implementation
SLF4J: See http://www.slf4j.org/codes.html#noProviders for further details.
Completely ignored arguments: [--tweakClass, optifine.OptiFineTweaker]
本帖最后由 kuzuanpa 于 2022-1-15 07:37 编辑
你的java版本?是哪下载下来的?是openjdk还是adoptjdk还是啥的
请尝试下载安装:https://mirrors.tuna.tsinghua.ed ... tspot_17.0.1_12.msi
这个也可以,区别是内存占用大量减小但是不保证能用(使用openj9JVM)https://mirrors.tuna.tsinghua.edu.cn/AdoptOpenJDK/17/jre/x64/windows/ibm-semeru-open-jre_x64_windows_17.0.1_12_openj9-0.29.1.msi
你的java版本?是哪下载下来的?是openjdk还是adoptjdk还是啥的
请尝试下载安装:https://mirrors.tuna.tsinghua.ed ... tspot_17.0.1_12.msi
这个也可以,区别是内存占用大量减小但是不保证能用(使用openj9JVM)https://mirrors.tuna.tsinghua.edu.cn/AdoptOpenJDK/17/jre/x64/windows/ibm-semeru-open-jre_x64_windows_17.0.1_12_openj9-0.29.1.msi
kuzuanpa 发表于 2022-1-15 07:36
你的java版本?是哪下载下来的?是openjdk还是adoptjdk还是啥的
请尝试下载安装:https://mirrors.tuna.ts ...
我下载了你的JAVA,运行了还是同样的问题
昨天我按照日志上面出错的地方去下载了一个slf4j,但不知类路径是哪里,就每个文件夹都放进去尝试了一下,没有成功
启动器里你手动改一下java试试,别让他自动选择
往返票7 发表于 2022-1-15 09:53
启动器里你手动改一下java试试,别让他自动选择
我试过了,一样的问题
新的情况出现了,当我多次尝试运行程序后,程序跳过了那三行红色errors继续运行并且成功打开游戏。这种情况出现了2次.现在我在尝试重新关闭游戏再次打开会怎么样
朋友们,这是个运气游戏,能不能运行看我运气好不好,需要尝试很多次,原因到底是什么啊。。。。。
pcl更新到最新版,或者叫你朋友发他正在用的
应该是HMCL没有更新最新的补丁,看这个link:https://github.com/huanghongxun/HMCL/issues/1294
一样我hmcl一堆问题我现在还没玩上(三天前买的游戏)
有一个软件叫做geek,你去https://geekuninstaller.com/下载这个软件,并用它卸载你电脑上所有的java(我个人认为是java路径太多了出错),如果你用的是官启就连那个也卸载重装,不过还是建议使用PCL或者HMCL来安装游戏。然后按顺序安装java8,Java11和java17,让PCL或者HMCL自动选择路径,再打开游戏试试。Java要从官方下载exe后缀名的安装器,必应可以直接搜到。
你好,这应该是java的版本问题,可以在这个网站下载17版的java(1.18版本需高版本java才能兼容): https://thxymc.com/download.html(有帮助,莫辜负)
喵师傅TM 发表于 2022-1-17 12:13
你好,这应该是java的版本问题,可以在这个网站下载17版的java(1.18版本需高版本java才能兼容): https: ...
如果需要进一步的帮助的话,请联系我的扣扣:2231784015(无偿帮助,只要金粒quexin)