Error On Plugin Load?

Discussion in 'Plugin Development' started by RazorFlint, Aug 10, 2011.

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

    RazorFlint

    So.........................
    Code:
    00:38:43 [SEVERE] Could not load 'plugins\iTent.jar' in folder 'plugins':
    java.lang.ClassNotFoundException: me.RazorFlint.iTent.iTent
            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:168)
            at org.bukkit.plugin.SimplePluginManager.loadPlugin(SimplePluginManager.
    java:213)
            at org.bukkit.plugin.SimplePluginManager.loadPlugins(SimplePluginManager
    .java:136)
            at org.bukkit.craftbukkit.CraftServer.loadPlugins(CraftServer.java:130)
            at org.bukkit.craftbukkit.CraftServer.<init>(CraftServer.java:97)
            at net.minecraft.server.ServerConfigurationManager.<init>(ServerConfigur
    ationManager.java:51)
            at net.minecraft.server.MinecraftServer.init(MinecraftServer.java:133)
            at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:337)
            at net.minecraft.server.ThreadServerApplication.run(SourceFile:422)
    Any Suggestions? I think its my plugin.yml but i don't know. :mad:
     
  2. Offline

    escape

    Make sure that the path to your main class in plugin.yml is correct.
     
  3. Offline

    chernobyl360

    if your using eclipse make sure the whole package is being exported. i was having the same issue until i realized it wasnt exporting correctly.
     
  4. Offline

    RazorFlint

    Thanks i'll try reloading everything and restart eclipse.
    Yep me.RazorFlint.iTent.iTent


    Hmm nope, exported again after refreshing everything but just get the same error

    EDIT by Moderator: merged posts, please use the edit button instead of double posting.
     
    Last edited by a moderator: May 18, 2016
  5. Offline

    EdTheLoon

    Open up the .jar file you've made with WinRar or something that will open it and show the files. Look through the directories for .class files. Make sure all of them are present
     
Thread Status:
Not open for further replies.

Share This Page