Open
Issue #39 · created by Roman Zabaluev · ·

Crash with liteloader (log4j ClassCastException)

Hello, I'm trying to launch forge+liteloader build, and on both 1.7.10 and 1.8.9 I get the following exception:

Caused by: java.lang.ExceptionInInitializerError at com.mumfrey.liteloader.launch.LiteLoaderTweaker.onPrepare(LiteLoaderTweaker.java:315) at com.mumfrey.liteloader.launch.LiteLoaderTweaker.acceptOptions(LiteLoaderTweaker.java:245) at net.minecraft.launchwrapper.Launch.launch(Launch.java:114) at net.minecraft.launchwrapper.Launch.main(Launch.java:28) ... 65 more Caused by: java.lang.ClassCastException: org.apache.logging.log4j.simple.SimpleLogger cannot be cast to org.apache.logging.log4j.core.Logger at com.mumfrey.liteloader.util.log.LiteLoaderLogger.<clinit>(LiteLoaderLogger.java:30) ... 69 more

I hope classpath is valid, both log4j core and api are there, liteloader, forge and other libraries. I'm using net.minecraft.launchwrapper.Launch as main class with com.mumfrey.liteloader.launch.LiteLoaderTweaker as a tweak class. Any ideas?

2 participants
liteloader/LiteLoader#39