SleepyTrousers / EnderCore

Library mod used by EnderIO, EnderZoo, and others
Creative Commons Zero v1.0 Universal
51 stars 70 forks source link

[1.12.2] [FTB Presents Stoneblock 2] java.lang.NoClassDefFoundError #107

Open droobey opened 5 years ago

droobey commented 5 years ago

Crash when loading FTB Presents Stoneblock 2 (MC 1.12.2) during startup

Game successfully started next launch. Reported as the game told me too (VanilaFix)

java.lang.NoClassDefFoundError: com/enderio/core/common/transform/EnderCorePlugin
    at com.enderio.core.common.mixin.SimpleMixinLoader.loadMixinSources(SimpleMixinLoader.java:8)
    at com.enderio.core.EnderCore.<init>(EnderCore.java:86)
    at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
    at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:62)

Full log https://paste.dimdev.org/kabiruxasi.mccrash

HenryLoenwind commented 5 years ago

Please have a look in the actual log (not the crash report) if Forge logs an error about embedded libraries. Or post the log.

PanSzelescik commented 5 years ago

I have the same problem: latest.log crash-2019-08-29_16.44.44-client.txt

HenryLoenwind commented 5 years ago
[16:44:22] [main/WARN]: The coremod FMLCorePlugin (net.minecraftforge.fml.relauncher.FMLCorePlugin) is not signed!
[16:44:22] [main/WARN]: The coremod FMLForgePlugin (net.minecraftforge.classloading.FMLForgePlugin) is not signed!

You are not using an official Forge release, are you?

PanSzelescik commented 5 years ago

I'm using Twitch Launcher which starts Mojang Launcher

mahtaran commented 5 years ago

Same problem for me when trying to depend on the mod in a developer environment: debug.log

HenryLoenwind commented 5 years ago

Mahtaran, you are running a dev env. Forge does not automatically extract embedded jars from dependencies on the classpath (complain to them if you want), so you need to extract those and put them into your run/mods folder manually.

mahtaran commented 5 years ago

Oh wow, that is dumb. Seems to work now. Thanks!

PanSzelescik commented 5 years ago

With Forge 2838 on Twitch Launcher and Ender IO 5.1.51 works very well

theoparis commented 4 years ago

Oh wow, that is dumb. Seems to work now. Thanks!

I'm having the same error when requriing endercore and enderio in a dev env, how exactly did you fix it? I've tried adding it to build.gradle like so

deobfCompile 'curse.maven...'
HenryLoenwind commented 4 years ago

You open the endercore jar file and extract the embedded core-core jar file that is in there in the meta-inf folder (I think it's there) into your mods folder.