Posted February 6, 201312 yr 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.
February 6, 201312 yr but always an error. Usually the same error. ... and the error is? If you guys dont get it.. then well ya.. try harder...
February 6, 201312 yr 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?
February 6, 201312 yr 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.