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'm hoping this is a simple problem. I have a Minecraft Forge Server, running on a Linux box set up just for this purpose. I tried to install my mod, but nothing works. Documentation says I don't have to modify minecraft_server.jar anymore. Run from that server directory the command "java -jar minecraftforge.jar" (or whatever you called it). That creates a bunch of stuff that Forge needs, including a directory (folder) called mods. Then just copy my mod to "mods". Ok, did that. When I start minecraftforge now, it generates a bunch of errors. It says it can't find my class files. Within my .zip file is a folder with the name of my package. All my class files are in that folder. That's how Forge is supposed to be done. And how it's installed in the client. I tried a bunch of different variations, but always an error. Usually the same error.

 

Please help.

but always an error. Usually the same error.

 

...

and the error is?

If you guys dont get it.. then well ya.. try harder...

  • Author

but always an error. Usually the same error.

 

...

and the error is?

java.lang.NoClassDefFoundError: package/Class

java.lang.ClassNotFoundException: package.Class

 

Replace "package" with my package name. And this pair of errors is repeated by an interface that this class implements. Replace "Class" with my class name. It's the first custom class called in my mod. As a point of trivia, the interface is in the other mod. Oh, wait... Is that why it can't find it?

  • Author

Ok, now the error is:

java.lang.NoClassDefFoundError: bdg

java.lang.ClassNotFoundException: bdg

 

To ensure I didn't modify any Minecraft base class, I took a fresh copy of Minecraft, both client and server, re-installed Forge, rebuilt the project in Eclipse, recompiled with MCP's batch script, and ran the script reobfuscate. When I install the .zip file on my server, I renamed it to .jar, but when I start the server I get exactly the same error.

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.