Uploaded image for project: 'Spigot'
  1. Spigot
  2. SPIGOT-1134

I get a error when I reload my server saying...

XMLWordPrintable

    • test.jar

      Hello, I am experiencing some issues trying to load my plugin into my test server, it does this:

      {{[10:45:28 ERROR]: Could not load 'plugins/test.jar' in folder 'plugins'
      org.bukkit.plugin.InvalidPluginException: Cannot find main class `me.jackears.test'
      at org.bukkit.plugin.java.PluginClassLoader.<init>(PluginClassLoader.java:66) ~[spigot-1.8.8.jar:git-Spigot-fdc1440-53fac9f]
      at org.bukkit.plugin.java.JavaPluginLoader.loadPlugin(JavaPluginLoader.java:131) ~[spigot-1.8.8.jar:git-Spigot-fdc1440-53fac9f]
      at org.bukkit.plugin.SimplePluginManager.loadPlugin(SimplePluginManager.java:329) ~[spigot-1.8.8.jar:git-Spigot-fdc1440-53fac9f]
      at org.bukkit.plugin.SimplePluginManager.loadPlugins(SimplePluginManager.java:251) [spigot-1.8.8.jar:git-Spigot-fdc1440-53fac9f]
      at org.bukkit.craftbukkit.v1_8_R3.CraftServer.loadPlugins(CraftServer.java:292) [spigot-1.8.8.jar:git-Spigot-fdc1440-53fac9f]
      at org.bukkit.craftbukkit.v1_8_R3.CraftServer.reload(CraftServer.java:739) [spigot-1.8.8.jar:git-Spigot-fdc1440-53fac9f]
      at org.bukkit.Bukkit.reload(Bukkit.java:535) [spigot-1.8.8.jar:git-Spigot-fdc1440-53fac9f]
      at org.bukkit.command.defaults.ReloadCommand.execute(ReloadCommand.java:25) [spigot-1.8.8.jar:git-Spigot-fdc1440-53fac9f]
      at org.bukkit.command.SimpleCommandMap.dispatch(SimpleCommandMap.java:141) [spigot-1.8.8.jar:git-Spigot-fdc1440-53fac9f]
      at org.bukkit.craftbukkit.v1_8_R3.CraftServer.dispatchCommand(CraftServer.java:641) [spigot-1.8.8.jar:git-Spigot-fdc1440-53fac9f]
      at org.bukkit.craftbukkit.v1_8_R3.CraftServer.dispatchServerCommand(CraftServer.java:627) [spigot-1.8.8.jar:git-Spigot-fdc1440-53fac9f]
      at net.minecraft.server.v1_8_R3.DedicatedServer.aO(DedicatedServer.java:412) [spigot-1.8.8.jar:git-Spigot-fdc1440-53fac9f]
      at net.minecraft.server.v1_8_R3.DedicatedServer.B(DedicatedServer.java:375) [spigot-1.8.8.jar:git-Spigot-fdc1440-53fac9f]
      at net.minecraft.server.v1_8_R3.MinecraftServer.A(MinecraftServer.java:653) [spigot-1.8.8.jar:git-Spigot-fdc1440-53fac9f]
      at net.minecraft.server.v1_8_R3.MinecraftServer.run(MinecraftServer.java:556) [spigot-1.8.8.jar:git-Spigot-fdc1440-53fac9f]
      at java.lang.Thread.run(Thread.java:722) [?:1.7.0_09]
      Caused by: java.lang.ClassNotFoundException: me.jackears.test
      at java.net.URLClassLoader$1.run(URLClassLoader.java:366) ~[?:1.7.0_09]
      at java.net.URLClassLoader$1.run(URLClassLoader.java:355) ~[?:1.7.0_09]
      at java.security.AccessController.doPrivileged(Native Method) ~[?:1.7.0_09]
      at java.net.URLClassLoader.findClass(URLClassLoader.java:354) ~[?:1.7.0_09]
      at org.bukkit.plugin.java.PluginClassLoader.findClass(PluginClassLoader.java:101) ~[spigot-1.8.8.jar:git-Spigot-fdc1440-53fac9f]
      at org.bukkit.plugin.java.PluginClassLoader.findClass(PluginClassLoader.java:86) ~[spigot-1.8.8.jar:git-Spigot-fdc1440-53fac9f]
      at java.lang.ClassLoader.loadClass(ClassLoader.java:423) ~[?:1.7.0_09]
      at java.lang.ClassLoader.loadClass(ClassLoader.java:356) ~[?:1.7.0_09]
      at java.lang.Class.forName0(Native Method) ~[?:1.7.0_09]
      at java.lang.Class.forName(Class.java:264) ~[?:1.7.0_09]
      at org.bukkit.plugin.java.PluginClassLoader.<init>(PluginClassLoader.java:64) ~[spigot-1.8.8.jar:git-Spigot-fdc1440-53fac9f]
      ... 15 more}}

      Now I've tried everything I could think of to fix this issue in my plugin.yml I've tried "me.jackears.test" "me.jackears.test" yet none work? here's my plugin.yml as it stands so far:

      name: Test
      main: me.jackears.test.test
      version: 0.0.5
      commands:
      plugins:
      description: disable the command plugins
      usage: /<command>
      ?:
      description: disable the command ?
      usage: /<command>

      Here's the plugin code:

      Here's the plugin.yml:

            Unassigned Unassigned
            Jack Earsman Jack Earsman
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: