Solved ClassNotFound Excetpion on Implementing other plugins

Discussion in 'Plugin Development' started by Benedikt Wüller, Oct 1, 2012.

Thread Status:
Not open for further replies.
  1. Hey there,
    I have a new problem.
    I implemented the plugin Sync to my plugin. I build my plugin and put both plugins in the plugins folder and this is happening:
    Code:
    21:26:26 [SCHWERWIEGEND] Could not load 'plugins\<Plugin-Name-Here>-1.0.jar' i
    n folder 'plugins'
    org.bukkit.plugin.InvalidPluginException: java.lang.NoClassDefFoundError: couk/A
    damki11s/SQL/SyncSQL
            at org.bukkit.plugin.java.JavaPluginLoader.loadPlugin(JavaPluginLoader.j
    ava:155)
            at org.bukkit.plugin.SimplePluginManager.loadPlugin(SimplePluginManager.
    java:305)
            at org.bukkit.plugin.SimplePluginManager.loadPlugins(SimplePluginManager
    .java:230)
            at org.bukkit.craftbukkit.CraftServer.loadPlugins(CraftServer.java:222)
            at org.bukkit.craftbukkit.CraftServer.reload(CraftServer.java:565)
            at org.bukkit.Bukkit.reload(Bukkit.java:183)
            at org.bukkit.command.defaults.ReloadCommand.execute(ReloadCommand.java:
    21)
            at org.bukkit.command.SimpleCommandMap.dispatch(SimpleCommandMap.java:16
    8)
            at org.bukkit.craftbukkit.CraftServer.dispatchCommand(CraftServer.java:4
    92)
            at org.bukkit.craftbukkit.CraftServer.dispatchServerCommand(CraftServer.
    java:488)
            at net.minecraft.server.DedicatedServer.ah(DedicatedServer.java:248)
            at net.minecraft.server.DedicatedServer.q(DedicatedServer.java:213)
            at net.minecraft.server.MinecraftServer.p(MinecraftServer.java:474)
            at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:406)
            at net.minecraft.server.ThreadServerApplication.run(SourceFile:539)
    Caused by: java.lang.NoClassDefFoundError: couk/Adamki11s/SQL/SyncSQL
            at java.lang.Class.forName0(Native Method)
            at java.lang.Class.forName(Class.java:264)
            at org.bukkit.plugin.java.JavaPluginLoader.loadPlugin(JavaPluginLoader.j
    ava:144)
            ... 14 more
    Caused by: java.lang.ClassNotFoundException: couk.Adamki11s.SQL.SyncSQL
            at java.net.URLClassLoader$1.run(URLClassLoader.java:366)
            at java.net.URLClassLoader$1.run(URLClassLoader.java:355)
            at java.security.AccessController.doPrivileged(Native Method)
            at java.net.URLClassLoader.findClass(URLClassLoader.java:354)
            at org.bukkit.plugin.java.PluginClassLoader.findClass(PluginClassLoader.
    java:44)
            at org.bukkit.plugin.java.PluginClassLoader.findClass(PluginClassLoader.
    java:29)
            at java.lang.ClassLoader.loadClass(ClassLoader.java:423)
            at java.lang.ClassLoader.loadClass(ClassLoader.java:356)
            ... 17 more
    The class "couk.Adamki11s.SQL.SyncSQL" is existing. Thats for sure.
    Any ideas?

    Thank you.
     
  2. Offline

    ferrybig

    mmake your plugin load after the other plugin using the plugin.yml
     
Thread Status:
Not open for further replies.

Share This Page