"Severe" Plugin Error?

Discussion in 'Bukkit Help' started by Klimax, Jun 27, 2011.

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

    Klimax

    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!
     
  2. Offline

    jtlcr777

    Do you have the latest CB and java version?
     
  3. Offline

    Klimax

    Yes I do.
     
  4. Offline

    DoomBunnyPwn

    By 'a new plugin' do you mean one in specific or any plugin?
     
  5. Offline

    Klimax

    I tried Permissions, WorldEdit, Essentials and a couple others and I get that error.
     
  6. Offline

    Klimax

    Just bumping this up so somebody might be able to help :S
     
  7. Offline

    xSn4k3x

    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.
     
  8. Offline

    Klimax

    I have done what you said and still no luck :/ I also tried the plugins with the 3 latest Bukkit builds.
     
  9. Offline

    xSn4k3x

    1. Look for the line that says, "Error occurred while enabling <plugin>" (in this case, WorldEdit)
    2. 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.
    3. Restart server.
    4. If another error occurs, repeat steps 1-3.
    5. 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].
    6. When re-installing the plugins, check to make sure there aren't any special installation steps for Mac users.
    7. Use the most recent Bukkit build (here).
    8. Restart server.
     
  10. Offline

    jtlcr777

    And while you are at it, make sure you have the latest java version. It never hurts to check.
     
    xSn4k3x likes this.
  11. Offline

    xSn4k3x

    Checking for software updates should detect that, but just in case, you can download the latest Java update here.
     
  12. Offline

    Klimax

    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.
     
    Last edited by a moderator: May 17, 2016
  13. Offline

    Evenprime

    "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.
     
  14. Offline

    Tissueslayer991

    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
     
Thread Status:
Not open for further replies.

Share This Page