Error On Plugin Load...

Discussion in 'WIP and Development Status' started by RazorFlint, May 10, 2011.

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

    RazorFlint

    Just been trying to make a plugin, and all the errors in eclipse are gone exports perfectly but when i put it into my server i get this... :(
    Code:
    22:36:41 [SEVERE] Could not load 'plugins\ColorSign.jar' in folder 'plugins':
    java.lang.ClassNotFoundException: me.RazorFlint.ColorSign
            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:36)
            at org.bukkit.plugin.java.PluginClassLoader.findClass(PluginClassLoader.
    java:24)
            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:160)
            at org.bukkit.plugin.SimplePluginManager.loadPlugin(SimplePluginManager.
    java:191)
            at org.bukkit.plugin.SimplePluginManager.loadPlugins(SimplePluginManager
    .java:115)
            at org.bukkit.craftbukkit.CraftServer.loadPlugins(CraftServer.java:100)
            at net.minecraft.server.MinecraftServer.e(MinecraftServer.java:218)
            at net.minecraft.server.MinecraftServer.a(MinecraftServer.java:205)
            at net.minecraft.server.MinecraftServer.init(MinecraftServer.java:145)
            at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:260)
            at net.minecraft.server.ThreadServerApplication.run(SourceFile:394)
    Replies Would Be Great!
    Thank's!

    -Bump

    EDIT by Moderator: merged posts, please use the edit button instead of double posting.
     
    Last edited by a moderator: Jul 16, 2016
  2. Offline

    Lolmewn

    Check your plugin.yml, the main is probally wrong.
    You MUST have it like this:
    main: <Packagename>.<mainclassname>
     
    RazorFlint likes this.
  3. Offline

    RazorFlint

    So Keep The brackets? <> Im Quite new to developing...
     
  4. Offline

    Lolmewn

    Yay! I got myself another like :p
     
    RazorFlint likes this.
  5. Offline

    RazorFlint

    Have Another Like... So Keep Like This?
    Code:
    name: ColorSign
    main: me.RazorFlint.ColorSign.ColorSign
    version: 1.0
    description: Sign Colors By MouseWheel.
     
  6. Offline

    Lolmewn

    Looks fine. Mine is like this:
    Code:
    name: FastObby
    main: nl.lolmen.FO.FastObsidian
    version: 2.0
    author: Lolmen/Lolmewn
    description: For instant Obby Mining.
    commands:
      fo:
        description: Get some super Obby mining skills!
        usage: /<command>
     
    RazorFlint likes this.
  7. Offline

    RazorFlint

    Thank's My first plugin is Done :D
     
  8. Offline

    Lolmewn

    To Color Signs?
    Will download once submitted :p
     
  9. Offline

    RazorFlint

    Sorry for late reply, thanks :D
     
Thread Status:
Not open for further replies.

Share This Page