NoClassDefFoundError: net/minecraftforge/fml/DistExecutor$SafeSupplier
Pythonic-Rainbow opened this issue · 8 comments
Structurize version
Version: 0.10.322
Forge 31.2.0
Crashed during initialization
Caused by: net.minecraftforge.fml.ModLoadingException: Structurize has class loading errors
§7net/minecraftforge/fml/DistExecutor$SafeSupplier
at net.minecraftforge.fml.javafmlmod.FMLModContainer.<init>(FMLModContainer.java:77) ~[?:31.2] {re:classloading}
at sun.reflect.GeneratedConstructorAccessor56.newInstance(Unknown Source) ~[?:?] {}
at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45) ~[?:1.8.0_51] {}
at java.lang.reflect.Constructor.newInstance(Constructor.java:422) ~[?:1.8.0_51] {}
at net.minecraftforge.fml.javafmlmod.FMLJavaModLanguageProvider$FMLModTarget.loadMod(FMLJavaModLanguageProvider.java:73) ~[?:31.2] {re:classloading}
... 40 more
Caused by: java.lang.NoClassDefFoundError: net/minecraftforge/fml/DistExecutor$SafeSupplier
at com.ldtteam.structurize.Structurize.<clinit>(Structurize.java:26) ~[?:0.10.322-ALPHA] {re:classloading}
at java.lang.Class.forName0(Native Method) ~[?:1.8.0_51] {}
at java.lang.Class.forName(Class.java:348) ~[?:1.8.0_51] {}
at net.minecraftforge.fml.javafmlmod.FMLModContainer.<init>(FMLModContainer.java:71) ~[?:31.2] {re:classloading}
at sun.reflect.GeneratedConstructorAccessor56.newInstance(Unknown Source) ~[?:?] {}
at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45) ~[?:1.8.0_51] {}
at java.lang.reflect.Constructor.newInstance(Constructor.java:422) ~[?:1.8.0_51] {}
at net.minecraftforge.fml.javafmlmod.FMLJavaModLanguageProvider$FMLModTarget.loadMod(FMLJavaModLanguageProvider.java:73) ~[?:31.2] {re:classloading}
... 40 more
Caused by: java.lang.ClassNotFoundException: net.minecraftforge.fml.DistExecutor$SafeSupplier
at java.lang.ClassLoader.findClass(ClassLoader.java:530) ~[?:1.8.0_51] {}
at java.lang.ClassLoader.loadClass(ClassLoader.java:424) ~[?:1.8.0_51] {}
at cpw.mods.modlauncher.TransformingClassLoader.loadClass(TransformingClassLoader.java:101) ~[modlauncher-5.1.0.jar:?] {re:classloading}
at java.lang.ClassLoader.loadClass(ClassLoader.java:357) ~[?:1.8.0_51] {}
at com.ldtteam.structurize.Structurize.<clinit>(Structurize.java:26) ~[?:0.10.322-ALPHA] {re:classloading}
at java.lang.Class.forName0(Native Method) ~[?:1.8.0_51] {}
at java.lang.Class.forName(Class.java:348) ~[?:1.8.0_51] {}
at net.minecraftforge.fml.javafmlmod.FMLModContainer.<init>(FMLModContainer.java:71) ~[?:31.2] {re:classloading}
at sun.reflect.GeneratedConstructorAccessor56.newInstance(Unknown Source) ~[?:?] {}
at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45) ~[?:1.8.0_51] {}
at java.lang.reflect.Constructor.newInstance(Constructor.java:422) ~[?:1.8.0_51] {}
at net.minecraftforge.fml.javafmlmod.FMLJavaModLanguageProvider$FMLModTarget.loadMod(FMLJavaModLanguageProvider.java:73) ~[?:31.2] {re:classloading}
... 40 more
It might sometimes be a problem with some mods tho.
The last version working with forge 31.2.0 is probably 0.10.321, not entirely sure tho.
Is there any reason why mods choose to use the latest version of MDK instead of the recommended version by Forge?
Forge is getting updates, bugfixes and new features, so if a version is deemed "stable enough" people tend to use it regardless of whether its a "recommended" version.