Log4J causes crashes in some alternative launchers
Sirse opened this issue ยท 0 comments
In some alternative MC launchers l4j calls causes crashes. Maybe use just System.out.print instead? There is only one string.
[22:08:19] [main/INFO]: Initializing SpongeMixinsCore
[22:08:19] [main/INFO]: [java.lang.Throwable$WrappedPrintStream:println:749]: java.lang.NoClassDefFoundError: org/apache/logging/log4j/LogManager
[22:08:19] [main/INFO]: [java.lang.Throwable$WrappedPrintStream:println:749]: at org.spongepowered.asm.launch.MixinBootstrap.<clinit>(MixinBootstrap.java:68)
[22:08:19] [main/INFO]: [java.lang.Throwable$WrappedPrintStream:println:749]: at ru.timeconqueror.spongemixins.core.SpongeMixinsCore.<clinit>(SpongeMixinsCore.java:28)
[22:08:19] [main/INFO]: [java.lang.Throwable$WrappedPrintStream:println:749]: at java.lang.Class.forName0(Native Method)
[22:08:19] [main/INFO]: [java.lang.Throwable$WrappedPrintStream:println:749]: at java.lang.Class.forName(Class.java:348)
[22:08:19] [main/INFO]: [java.lang.Throwable$WrappedPrintStream:println:749]: at cpw.mods.fml.relauncher.CoreModManager.loadCoreMod(CoreModManager.java:460)
[22:08:19] [main/INFO]: [java.lang.Throwable$WrappedPrintStream:println:749]: at cpw.mods.fml.relauncher.CoreModManager.discoverCoreMods(CoreModManager.java:389)
[22:08:19] [main/INFO]: [java.lang.Throwable$WrappedPrintStream:println:749]: at cpw.mods.fml.relauncher.CoreModManager.handleLaunch(CoreModManager.java:221)
[22:08:19] [main/INFO]: [java.lang.Throwable$WrappedPrintStream:println:749]: at cpw.mods.fml.relauncher.FMLLaunchHandler.setupHome(FMLLaunchHandler.java:90)
[22:08:19] [main/INFO]: [java.lang.Throwable$WrappedPrintStream:println:749]: at cpw.mods.fml.relauncher.FMLLaunchHandler.setupClient(FMLLaunchHandler.java:67)
[22:08:19] [main/INFO]: [java.lang.Throwable$WrappedPrintStream:println:749]: at cpw.mods.fml.relauncher.FMLLaunchHandler.configureForClientLaunch(FMLLaunchHandler.java:34)
[22:08:19] [main/INFO]: [java.lang.Throwable$WrappedPrintStream:println:749]: at cpw.mods.fml.common.launcher.FMLTweaker.injectIntoClassLoader(FMLTweaker.java:126)
[22:08:19] [main/INFO]: [java.lang.Throwable$WrappedPrintStream:println:749]: at net.minecraft.launchwrapper.Launch.launch(Launch.java:116)
[22:08:19] [main/INFO]: [java.lang.Throwable$WrappedPrintStream:println:749]: at net.minecraft.launchwrapper.Launch.main(Launch.java:29)
[22:08:19] [main/INFO]: [java.lang.Throwable$WrappedPrintStream:println:749]: at java.lang.invoke.MethodHandle.invokeWithArguments(MethodHandle.java:627)
[22:08:19] [main/INFO]: [java.lang.Throwable$WrappedPrintStream:println:749]: at pro.gravit.launcher.zonAsUMRaKamMt.zoNAsUMraKANTZ(Unknown Source)
[22:08:19] [main/INFO]: [java.lang.Throwable$WrappedPrintStream:println:749]: at pro.gravit.launcher.zonAsUMRaKamMt.main(Unknown Source)
[22:08:19] [main/INFO]: [java.lang.Throwable$WrappedPrintStream:println:749]: Caused by: java.lang.ClassNotFoundException: org.apache.logging.log4j.LogManager
[22:08:19] [main/INFO]: [java.lang.Throwable$WrappedPrintStream:println:749]: at java.net.URLClassLoader.findClass(URLClassLoader.java:382)
[22:08:19] [main/INFO]: [java.lang.Throwable$WrappedPrintStream:println:749]: at java.lang.ClassLoader.loadClass(ClassLoader.java:418)
[22:08:19] [main/INFO]: [java.lang.Throwable$WrappedPrintStream:println:749]: at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:355)
[22:08:19] [main/INFO]: [java.lang.Throwable$WrappedPrintStream:println:749]: at java.lang.ClassLoader.loadClass(ClassLoader.java:351)
[22:08:19] [main/INFO]: [java.lang.Throwable$WrappedPrintStream:println:749]: ... 16 more