Eclipse error = CMD error

Discussion in 'Plugin Development' started by connormcwood, Jan 20, 2011.

Thread Status:
Not open for further replies.
  1. Offline

    connormcwood

    Help me fix this plugin! I will list the errors eclipse gives to me. Im doing this because i dont understand what is wrong with them :D
    CMD error :
    Code:
    SEVERE: Could not load plugins\TntMessage.jar in plugins: null
    org.bukkit.plugin.InvalidPluginException
            at org.bukkit.plugin.java.JavaPluginLoader.loadPlugin(JavaPluginLoader.j
    ava:83)
            at org.bukkit.plugin.SimplePluginManager.loadPlugin(SimplePluginManager.
    java:115)
            at org.bukkit.plugin.SimplePluginManager.loadPlugins(SimplePluginManager
    .java:80)
            at org.bukkit.craftbukkit.CraftServer.loadPlugins(CraftServer.java:43)
            at net.minecraft.server.MinecraftServer.e(MinecraftServer.java:153)
            at net.minecraft.server.MinecraftServer.c(MinecraftServer.java:140)
            at net.minecraft.server.MinecraftServer.d(MinecraftServer.java:104)
            at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:177)
            at net.minecraft.server.ThreadServerApplication.run(SourceFile:512)
    Caused by: java.lang.ClassNotFoundException: com.bukkiit.connormcwood.Tntmessage
    
            at java.net.URLClassLoader$1.run(Unknown Source)
            at java.security.AccessController.doPrivileged(Native Method)
            at java.net.URLClassLoader.findClass(Unknown Source)
            at org.bukkit.plugin.java.PluginClassLoader.findClass(PluginClassLoader.
    java:29)
            at java.lang.ClassLoader.loadClass(Unknown Source)
            at java.lang.ClassLoader.loadClass(Unknown Source)
            at java.lang.Class.forName0(Native Method)
            at java.lang.Class.forName(Unknown Source)
            at org.bukkit.plugin.java.JavaPluginLoader.loadPlugin(JavaPluginLoader.j
    ava:77)
            ... 8 more
    Apparently
    import org.bukkit.Player;
    import org.bukkit.Block;
    import org.bukkit.BlockFace;

    Cannot be resolved?
    but the other imports work... ?
     
  2. Offline

    Affecting_Nelas

    import org.bukkit.entity.Player;
    import org.bukkit.block.Block;
    import org.bukkit.block.BlockFace;

    it changed :D
     
Thread Status:
Not open for further replies.

Share This Page