Jump to content

Error on load at server


lucasdidur

Recommended Posts

2012-07-24 22:42:10 [sEVERE] java.lang.NoClassDefFoundError: Lid;
2012-07-24 22:42:10 [sEVERE] 	at java.lang.Class.getDeclaredFields0(Native Method)
2012-07-24 22:42:10 [sEVERE] 	at java.lang.Class.privateGetDeclaredFields(Unknown Source)
2012-07-24 22:42:10 [sEVERE] 	at java.lang.Class.getDeclaredFields(Unknown Source)
2012-07-24 22:42:10 [sEVERE] 	at cpw.mods.fml.server.FMLBukkitHandler.findSidedProxyOn(FMLBukkitHandler.java:619)
2012-07-24 22:42:10 [sEVERE] 	at cpw.mods.fml.common.modloader.ModLoaderModContainer.findSidedProxy(ModLoaderModContainer.java:689)
2012-07-24 22:42:10 [sEVERE] 	at cpw.mods.fml.common.FMLCommonHandler.injectSidedProxyDelegate(FMLCommonHandler.java:623)
2012-07-24 22:42:10 [sEVERE] 	at cpw.mods.fml.common.Loader.preModInit(Loader.java:247)
2012-07-24 22:42:10 [sEVERE] 	at cpw.mods.fml.common.Loader.loadMods(Loader.java:607)
2012-07-24 22:42:10 [sEVERE] 	at cpw.mods.fml.server.FMLBukkitHandler.onPreLoad(FMLBukkitHandler.java:134)
2012-07-24 22:42:10 [sEVERE] 	at net.minecraft.server.MinecraftServer.init(MinecraftServer.java:135)
2012-07-24 22:42:10 [sEVERE] 	at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:438)
2012-07-24 22:42:10 [sEVERE] 	at net.minecraft.server.ThreadServerApplication.run(SourceFile:492)
2012-07-24 22:42:10 [sEVERE] Caused by: java.lang.ClassNotFoundException: id
2012-07-24 22:42:10 [sEVERE] 	at java.net.URLClassLoader$1.run(Unknown Source)
2012-07-24 22:42:10 [sEVERE] 	at java.net.URLClassLoader$1.run(Unknown Source)
2012-07-24 22:42:10 [sEVERE] 	at java.security.AccessController.doPrivileged(Native Method)
2012-07-24 22:42:10 [sEVERE] 	at java.net.URLClassLoader.findClass(Unknown Source)
2012-07-24 22:42:10 [sEVERE] 	at java.lang.ClassLoader.loadClass(Unknown Source)
2012-07-24 22:42:10 [sEVERE] 	at sun.misc.Launcher$AppClassLoader.loadClass(Unknown Source)
2012-07-24 22:42:10 [sEVERE] 	at java.lang.ClassLoader.loadClass(Unknown Source)
2012-07-24 22:42:10 [sEVERE] 	... 12 more
2012-07-24 22:42:10 [sEVERE] Unexpected exception
java.lang.NoClassDefFoundError: Lid;
at java.lang.Class.getDeclaredFields0(Native Method)
at java.lang.Class.privateGetDeclaredFields(Unknown Source)
at java.lang.Class.getDeclaredFields(Unknown Source)
at cpw.mods.fml.server.FMLBukkitHandler.findSidedProxyOn(FMLBukkitHandler.java:619)
at cpw.mods.fml.common.modloader.ModLoaderModContainer.findSidedProxy(ModLoaderModContainer.java:689)
at cpw.mods.fml.common.FMLCommonHandler.injectSidedProxyDelegate(FMLCommonHandler.java:623)
at cpw.mods.fml.common.Loader.preModInit(Loader.java:247)
at cpw.mods.fml.common.Loader.loadMods(Loader.java:607)
at cpw.mods.fml.server.FMLBukkitHandler.onPreLoad(FMLBukkitHandler.java:134)
at net.minecraft.server.MinecraftServer.init(MinecraftServer.java:135)
at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:438)
at net.minecraft.server.ThreadServerApplication.run(SourceFile:492)
Caused by: java.lang.ClassNotFoundException: id
at java.net.URLClassLoader$1.run(Unknown Source)
at java.net.URLClassLoader$1.run(Unknown Source)
at java.security.AccessController.doPrivileged(Native Method)
at java.net.URLClassLoader.findClass(Unknown Source)
at java.lang.ClassLoader.loadClass(Unknown Source)
at sun.misc.Launcher$AppClassLoader.loadClass(Unknown Source)
at java.lang.ClassLoader.loadClass(Unknown Source)
... 12 more

 

My simple mod:

 

package net.minecraft.src;

import net.minecraft.src.forge.NetworkMod;

public class mod_EhCoin extends NetworkMod
{
public static Item ehCoin_Bronze;

public mod_EhCoin(){}

public String getVersion() 
{
	return "0.1";
}

public void load() 
{
	ehCoin_Bronze 	= new ItemEhCoin(3500).setItemName("EhCoinBronze");		
}

public boolean clientSideRequired()
    {
        return true;
    }

    public boolean serverSideRequired()
    {
        return false;
    }
}

 

 

What can be this?

 

 

Link to comment
Share on other sites

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...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.



×
×
  • Create New...

Important Information

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