NoSuchMethodError on server v1.115

  • I've just set up a server so I could play with some friends, installed forge and was working fine, however, once I placed IC2 in the mods folder the server crashes on startup. I've even run the server without any other mods and still get the same error.

    Not entirely sure what other info might be needed so for now i'll just post the entire crash log.

    Display Spoiler

    Time: 03/03/13 4:17 PM
    Description: Exception in server tick loop

    java.lang.NoSuchMethodError: tj.(Ljava/lang/String;)V
    at ic2.core.CreativeTabIC2.(CreativeTabIC2.java:15)
    at ic2.core.IC2.(IC2.java:2274)
    at java.lang.Class.forName0(Native Method)
    at java.lang.Class.forName(Unknown Source)
    at cpw.mods.fml.common.FMLModContainer.constructMod(FMLModContainer.java:418)
    at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
    at java.lang.reflect.Method.invoke(Unknown Source)
    at com.google.common.eventbus.EventHandler.handleEvent(EventHandler.java:69)
    at com.google.common.eventbus.SynchronizedEventHandler.handleEvent(SynchronizedEventHandler.java:45)
    at com.google.common.eventbus.EventBus.dispatch(EventBus.java:317)
    at com.google.common.eventbus.EventBus.dispatchQueuedEvents(EventBus.java:300)
    at com.google.common.eventbus.EventBus.post(EventBus.java:268)
    at cpw.mods.fml.common.LoadController.propogateStateMessage(LoadController.java:153)
    at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
    at java.lang.reflect.Method.invoke(Unknown Source)
    at com.google.common.eventbus.EventHandler.handleEvent(EventHandler.java:69)
    at com.google.common.eventbus.SynchronizedEventHandler.handleEvent(SynchronizedEventHandler.java:45)
    at com.google.common.eventbus.EventBus.dispatch(EventBus.java:317)
    at com.google.common.eventbus.EventBus.dispatchQueuedEvents(EventBus.java:300)
    at com.google.common.eventbus.EventBus.post(EventBus.java:268)
    at cpw.mods.fml.common.LoadController.distributeStateMessage(LoadController.java:86)
    at cpw.mods.fml.common.Loader.loadMods(Loader.java:494)
    at cpw.mods.fml.server.FMLServerHandler.beginServerLoading(FMLServerHandler.java:86)
    at cpw.mods.fml.common.FMLCommonHandler.onServerStart(FMLCommonHandler.java:351)
    at ho.c(DedicatedServer.java:61)
    at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:382)
    at fy.run(SourceFile:849)


    A detailed walkthrough of the error, its code path and all known details is as follows:
    ---------------------------------------------------------------------------------------

    -- System Details --
    Details:
    Minecraft Version: 1.4.7
    Operating System: Windows Vista (amd64) version 6.0
    Java Version: 1.7.0_09, Oracle Corporation
    Java VM Version: Java HotSpot(TM) 64-Bit Server VM (mixed mode), Oracle Corporation
    Memory: 479938888 bytes (457 MB) / 514523136 bytes (490 MB) up to 954466304 bytes (910 MB)
    JVM Flags: 2 total; -Xms512M -Xmx1G
    AABB Pool Size: 0 (0 bytes; 0 MB) allocated, 0 (0 bytes; 0 MB) used
    Suspicious classes: FML is installed
    IntCache: cache: 0, tcache: 0, allocated: 0, tallocated: 0
    FML: MCP v7.26a FML v4.7.39.565 3 mods loaded, 3 mods active
    mcp [Minecraft Coder Pack] (minecraft.jar) Unloaded->Constructed
    FML [Forge Mod Loader] (coremods) Unloaded->Constructed
    IC2 [IndustrialCraft 2] (industrialcraft-2_1.115.207-lf.jar) Unloaded
    Profiler Position: N/A (disabled)
    Is Modded: Definitely; Server brand changed to 'fml'
    Type: Dedicated Server (map_server.txt)


    </init></init>

  • 1) recompilaton failure due notsoowell bytecode edits
    2) wrong forge\IC2

    in both cases its YOUR fault

    That's the thing I didn't do anything differently than i did on my client side. Used same universal ic2 and same universal forge. The only difference was that I did not delete the META-inf in the server since I was not supposed to. I've changed nothing else, looked up many tutorials on how to set it up to make sure, and still same issue.

  • I *think* you need to have Forge, not just FML, installed in the server. The class it's complaining about is present and accounted for in my server running Forge build 518 (which, yes, is pretty old), and I can confirm the forge zip includes a copy of it.

    Incidentally, it's not necessary to install Forge into the minecraft_server.jar anymore (hasn't been for quite a few Minecraft versions) -- just run java -jar minecraftforge-universal-[blah].zip and it will work as long as it can find the jar in the same directory. Much faster than messing around with the .jar internals.

  • Incidentally, it's not necessary to install Forge into the minecraft_server.jar anymore (hasn't been for quite a few Minecraft versions) -- just run java -jar minecraftforge-universal-[blah].zip and it will work as long as it can find the jar in the same directory. Much faster than messing around with the .jar internals.

    Just tried this and it works just fine. Thanks for the help, this has been bugging me all week.