Jump to content
View in the app

A better way to browse. Learn more.

Forge Forums

A full-screen app on your home screen with push notifications, badges and more.

To install this app on iOS and iPadOS
  1. Tap the Share icon in Safari
  2. Scroll the menu and tap Add to Home Screen.
  3. Tap Add in the top-right corner.
To install this app on Android
  1. Tap the 3-dot menu (⋮) in the top-right corner of the browser.
  2. Tap Add to Home screen or Install app.
  3. Confirm by tapping Install.

Featured Replies

Posted

I recently updated my Mod from 1.8.9 to 1.9. In 1.8 everything worked fine (Server and Client). After the port the Client works perfectly, but when I start the Server I always get this crash:

 

net.minecraftforge.fml.common.LoaderException: java.lang.NoClassDefFoundError: de/dr_schnauzer/ac/core/items/HotIngot
at net.minecraftforge.fml.common.LoadController.transition(LoadController.java:179)
at net.minecraftforge.fml.common.Loader.preinitializeMods(Loader.java:559)
at net.minecraftforge.fml.server.FMLServerHandler.beginServerLoading(FMLServerHandler.java:93)
at net.minecraftforge.fml.common.FMLCommonHandler.onServerStart(FMLCommonHandler.java:320)
at net.minecraft.server.dedicated.DedicatedServer.startServer(DedicatedServer.java:119)
at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:427)
at java.lang.Thread.run(Thread.java:745)
Caused by: java.lang.NoClassDefFoundError: de/dr_schnauzer/ac/core/items/HotIngot
at de.dr_schnauzer.ac.AlchemyCraft.preInit(AlchemyCraft.java:86)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:497)
at net.minecraftforge.fml.common.FMLModContainer.handleModStateEvent(FMLModContainer.java:560)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:497)
at com.google.common.eventbus.EventSubscriber.handleEvent(EventSubscriber.java:74)
at com.google.common.eventbus.SynchronizedEventSubscriber.handleEvent(SynchronizedEventSubscriber.java:47)
at com.google.common.eventbus.EventBus.dispatch(EventBus.java:322)
at com.google.common.eventbus.EventBus.dispatchQueuedEvents(EventBus.java:304)
at com.google.common.eventbus.EventBus.post(EventBus.java:275)
at net.minecraftforge.fml.common.LoadController.sendEventToModContainer(LoadController.java:228)
at net.minecraftforge.fml.common.LoadController.propogateStateMessage(LoadController.java:206)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:497)
at com.google.common.eventbus.EventSubscriber.handleEvent(EventSubscriber.java:74)
at com.google.common.eventbus.SynchronizedEventSubscriber.handleEvent(SynchronizedEventSubscriber.java:47)
at com.google.common.eventbus.EventBus.dispatch(EventBus.java:322)
at com.google.common.eventbus.EventBus.dispatchQueuedEvents(EventBus.java:304)
at com.google.common.eventbus.EventBus.post(EventBus.java:275)
at net.minecraftforge.fml.common.LoadController.distributeStateMessage(LoadController.java:135)
at net.minecraftforge.fml.common.Loader.preinitializeMods(Loader.java:556)
... 5 more
Caused by: java.lang.ClassNotFoundException: de.dr_schnauzer.ac.core.items.HotIngot
at net.minecraft.launchwrapper.LaunchClassLoader.findClass(LaunchClassLoader.java:191)
at java.lang.ClassLoader.loadClass(ClassLoader.java:424)
at java.lang.ClassLoader.loadClass(ClassLoader.java:357)
... 33 more
Caused by: java.lang.NoClassDefFoundError: de/dr_schnauzer/ac/core/items/ACIngotRaw
at java.lang.ClassLoader.defineClass1(Native Method)
at java.lang.ClassLoader.defineClass(ClassLoader.java:760)
at java.security.SecureClassLoader.defineClass(SecureClassLoader.java:142)
at net.minecraft.launchwrapper.LaunchClassLoader.findClass(LaunchClassLoader.java:182)
... 35 more
Caused by: java.lang.ClassNotFoundException: de.dr_schnauzer.ac.core.items.ACIngotRaw
at net.minecraft.launchwrapper.LaunchClassLoader.findClass(LaunchClassLoader.java:101)
at java.lang.ClassLoader.loadClass(ClassLoader.java:424)
at java.lang.ClassLoader.loadClass(ClassLoader.java:357)
... 39 more

 

I double checked everything and the classes are definitely present at the Client and the Server. The only difference in the 1.8 and 1.9 Versions is the implementation of the IItemColor Interface. Maybe someone out here can help me out here.

 

Also (not quite the Topic, but also related to the Server) when starting the Server in Intelij Idea, the Log doesn't work. The only Log printed is this:

Calling tweak class net.minecraftforge.fml.common.launcher.FMLServerTweaker
ERROR Error processing element TerminalConsole: CLASS_NOT_FOUND
ERROR Error processing element TerminalConsole: CLASS_NOT_FOUND
WARN Unable to instantiate org.fusesource.jansi.WindowsAnsiOutputStream
ERROR Unable to locate appender Console for logger com.mojang
ERROR Unable to locate appender FmlConsole for logger 
ERROR Unable to locate appender Console for logger net.minecraft
WARN Unable to instantiate org.fusesource.jansi.WindowsAnsiOutputStream
ERROR Error processing element TerminalConsole: CLASS_NOT_FOUND
ERROR Error processing element TerminalConsole: CLASS_NOT_FOUND
WARN Unable to instantiate org.fusesource.jansi.WindowsAnsiOutputStream
ERROR Unable to locate appender Console for logger com.mojang
ERROR Unable to locate appender FmlConsole for logger 
ERROR Unable to locate appender Console for logger net.minecraft

  • Author

I fixed it. I didn't realize the IItemColor class itself was clientside only and used it on both sides. *facepalm*

 

The only thing that is left is the broken Log Connection between the Intellij Idea console and the Minecraft Server. But that is not a gamebreaker.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Unfortunately, your content contains terms that we do not allow. Please edit your content to remove the highlighted words below.
Reply to this topic...

Important Information

By using this site, you agree to our Terms of Use.

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.