Error

Issue #4 resolved
Former user created an issue

I'm running into this error, using craftbukkit 1.2.5-R1.2 and version 1.3 of WorldCreator. Error: <<code java>> [INFO] [WorldCreator] Enabling WorldCreator v1.1 2012-05-27 13:14:23 [SEVERE] Error occurred while enabling WorldCreator v1.1 (Is it up to date?) java.lang.UnsupportedClassVersionError: com/zct/utils/commands/CommandManager : Unsupported major.minor version 51.0 at java.lang.ClassLoader.defineClass1(Native Method) at java.lang.ClassLoader.defineClassCond(Unknown Source) at java.lang.ClassLoader.defineClass(Unknown Source) at java.security.SecureClassLoader.defineClass(Unknown Source) at java.net.URLClassLoader.defineClass(Unknown Source) at java.net.URLClassLoader.access$000(Unknown Source) 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:41) at org.bukkit.plugin.java.JavaPluginLoader.getClassByName(JavaPluginLoader.java:234) at org.bukkit.plugin.java.PluginClassLoader.findClass(PluginClassLoader.java:37) 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 com.zct.worldcreator.WorldCreator.onEnable(WorldCreator.java:59) at org.bukkit.plugin.java.JavaPlugin.setEnabled(JavaPlugin.java:215) at org.bukkit.plugin.java.JavaPluginLoader.enablePlugin(JavaPluginLoader.java:336) at org.bukkit.plugin.SimplePluginManager.enablePlugin(SimplePluginManager.java:381) at org.bukkit.craftbukkit.CraftServer.loadPlugin(CraftServer.java:256) at org.bukkit.craftbukkit.CraftServer.enablePlugins(CraftServer.java:238) at org.bukkit.craftbukkit.CraftServer.<init>(CraftServer.java:190) at net.minecraft.server.ServerConfigurationManager.<init>(ServerConfigurationManager.java:53) at net.minecraft.server.MinecraftServer.init(MinecraftServer.java:156) at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:422) at net.minecraft.server.ThreadServerApplication.run(SourceFile:492) <</code>> I'm not having any other plugins by the way.\ Because of this I'm not able to do anything with this plugin :( Please tell me if I'm doing something wrong or update to the most recent R3.0.

Comments (4)

  1. samp20 repo owner

    That's a bit of an odd error since there's nothing that points to a fault in my plugin. I'll certainly look into it. Btw where it says loading version 1.1 that's expected because I keep forgetting to update the version within the plugin itself. I'll try to remember that for the next version.

    EDIT: What version of java are you running btw? I believe that error is because the plugin required a higher version of java than what you're running. The plugin should work with java 1.6

  2. Former user Account Deleted

    Sorry about that :D I didn't take a look here. I am running java 1.6.0_31 on WinXP (for testing purposes). As I said, everything's fine with the older version of WorldCreator.

  3. samp20 repo owner

    It must have happened when I migrated one of the plugins dependencies to a new build system, and is probably compiled for java 1.7. It should be fixed when I release the next version (hopefully soon)

  4. Log in to comment