Hi I am on a Mac and am getting this server every-time i restart after installing a new plugin. I have no idea what could be causing this problem. Please help! Code: [SEVERE] Error occurred while enabling WorldEdit v4.6 (Is it up to date?): javax/script/ScriptException java.lang.NoClassDefFoundError: javax/script/ScriptException at com.sk89q.worldedit.bukkit.WorldEditPlugin.onEnable(WorldEditPlugin.java:99) at org.bukkit.plugin.java.JavaPlugin.setEnabled(JavaPlugin.java:126) at org.bukkit.plugin.java.JavaPluginLoader.enablePlugin(JavaPluginLoader.java:857) at org.bukkit.plugin.SimplePluginManager.enablePlugin(SimplePluginManager.java:253) at org.bukkit.craftbukkit.CraftServer.loadPlugin(CraftServer.java:157) at org.bukkit.craftbukkit.CraftServer.enablePlugins(CraftServer.java:136) at net.minecraft.server.MinecraftServer.e(MinecraftServer.java:284) at net.minecraft.server.MinecraftServer.a(MinecraftServer.java:271) at net.minecraft.server.MinecraftServer.init(MinecraftServer.java:148) at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:335) at net.minecraft.server.ThreadServerApplication.run(SourceFile:422) Thanks!
I got that error too, once. Try restarting the server. With mine, it popped up that error, but then continued activating the other plug-ins and started the server without me having to do anything. If that's not the case and restarting didn't help, try deleting all plug-ins and re-installing them. If that doesn't work, re-install Bukkit.
I have done what you said and still no luck :/ I also tried the plugins with the 3 latest Bukkit builds.
Look for the line that says, "Error occurred while enabling <plugin>" (in this case, WorldEdit) Remove everything associated with that plugin from the Plugins folder AND the root folder (just in case). This means removing the folder, .jar file, logs, and anything else with that plugin's name on it) but leave everything else. Restart server. If another error occurs, repeat steps 1-3. When there are no more errors, with the plugins that have been removed, check to make sure you have the latest versions [you might want to check to see if there are any software updates (here) and/or Minecraft updates (here), as well]. When re-installing the plugins, check to make sure there aren't any special installation steps for Mac users. Use the most recent Bukkit build (here). Restart server.
Checking for software updates should detect that, but just in case, you can download the latest Java update here.
Ok I have done everything what you guys have told me to do and still I am getting errors. I have updated to 1.7 and all. Code: SEVERE] Could not load 'plugins/WorldEdit.jar' in folder 'plugins': java.lang.UnsupportedClassVersionError: Bad version number in .class file at java.lang.ClassLoader.defineClass1(Native Method) at java.lang.ClassLoader.defineClass(ClassLoader.java:676) at java.security.SecureClassLoader.defineClass(SecureClassLoader.java:124) at java.net.URLClassLoader.defineClass(URLClassLoader.java:260) at java.net.URLClassLoader.access$100(URLClassLoader.java:56) at java.net.URLClassLoader$1.run(URLClassLoader.java:195) at java.security.AccessController.doPrivileged(Native Method) at java.net.URLClassLoader.findClass(URLClassLoader.java:188) 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(ClassLoader.java:317) at java.lang.ClassLoader.loadClass(ClassLoader.java:252) at java.lang.ClassLoader.loadClassInternal(ClassLoader.java:375) at java.lang.Class.forName0(Native Method) at java.lang.Class.forName(Class.java:242) at org.bukkit.plugin.java.JavaPluginLoader.loadPlugin(JavaPluginLoader.java:168) at org.bukkit.plugin.SimplePluginManager.loadPlugin(SimplePluginManager.java:199) at org.bukkit.plugin.SimplePluginManager.loadPlugins(SimplePluginManager.java:122) at org.bukkit.craftbukkit.CraftServer.loadPlugins(CraftServer.java:118) at org.bukkit.craftbukkit.CraftServer.<init>(CraftServer.java:89) at net.minecraft.server.ServerConfigurationManager.<init>(ServerConfigurationManager.java:51) at net.minecraft.server.MinecraftServer.init(MinecraftServer.java:132) at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:335) at net.minecraft.server.ThreadServerApplication.run(SourceFile:422) Ok I re-downloaded World Edit once again and I am getting this error again! Code: [SEVERE] Error occurred while enabling WorldEdit v4.6 (Is it up to date?): javax/script/ScriptException java.lang.NoClassDefFoundError: javax/script/ScriptException at com.sk89q.worldedit.bukkit.WorldEditPlugin.onEnable(WorldEditPlugin.java:99) at org.bukkit.plugin.java.JavaPlugin.setEnabled(JavaPlugin.java:126) at org.bukkit.plugin.java.JavaPluginLoader.enablePlugin(JavaPluginLoader.java:857) at org.bukkit.plugin.SimplePluginManager.enablePlugin(SimplePluginManager.java:264) at org.bukkit.craftbukkit.CraftServer.loadPlugin(CraftServer.java:151) at org.bukkit.craftbukkit.CraftServer.enablePlugins(CraftServer.java:136) at net.minecraft.server.MinecraftServer.e(MinecraftServer.java:284) at net.minecraft.server.MinecraftServer.a(MinecraftServer.java:271) at net.minecraft.server.MinecraftServer.init(MinecraftServer.java:148) at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:335) at net.minecraft.server.ThreadServerApplication.run(SourceFile:422) Yes, everything is up-to-date. EDIT by Moderator: merged posts, please use the edit button instead of double posting.
"UnsupportedClassVersionError" means that the plugin was compiled for a Java version newer than the version you use to run CraftBukkit. You either don't have the newest Java Runtime Environment installed, or you unintentionally use an older JRE version to start CraftBukkit. You can have more than one Java Runtime Environment version installed on a system at the same time. Another possibility is that you use Max OS 10.5 or earlier, which (afaik) only support Java 1.5, while many plugins need Java 1.6 to run.
Ok I got the error before and I wanted to try smashing my mac in to a million pieces BUT I found a solution last night OK Step 1: Go to your spotlight (the magnifying glass beside the clock) Step 2: Type in Java Preferences and click on it Step 3:go on your General tab in the window and you will see 4 check boxes that say: J2se 5.0, Java SE 6, J2SE 5.0, and J2SE 1.4.2 Step: 4: Make sure that the Java SE 6 is ONLY checked not the others. (On Default J2SE 5.0 Java SE 6 and J2SE 5.0 are the only ones checked off.) Step 5: Below the General tab you will see Run applets: click on Within the browser process Step 6: I think I solved your problem because it worked for me I have a mac 10.5.8 sorry if it doesn't work for you....BUT if it does work for you the YAY!!!!!!!!!! P.s: Sorry I am horrible typing English lol