WorldEdit Error

Discussion in 'Bukkit Help' started by JuniorGenius, Jan 19, 2012.

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

    JuniorGenius

    Hello, I have a 1.1 Bukkit server, (dev build) and I am attempting to use WorldEdit for version 1.1, (Obtained by copying it from SinglePlayerCommands version 1.1) and when I boot up the server it gives me the following error:

    Code:
    20:10:11 [INFO] WorldEdit 4.7 enabled.
    20:10:11 [INFO] WorldEdit: Default configuration file written: config.yml
    20:10:11 [INFO] WEPIF: Updated config file
    20:10:11 [INFO] WorldEdit: Using the Bukkit Permissions API.
    20:10:11 [SEVERE] Error occurred while enabling WorldEdit v4.7 (Is it up to date?): java.lang.String.isEmpty()Z
    java.lang.NoSuchMethodError: java.lang.String.isEmpty()Z
        at com.sk89q.worldedit.bukkit.BukkitConfiguration.load(BukkitConfiguration.java:89)
        at com.sk89q.worldedit.bukkit.WorldEditPlugin.loadConfiguration(WorldEditPlugin.java:131)
        at com.sk89q.worldedit.bukkit.WorldEditPlugin.onEnable(WorldEditPlugin.java:96)
        at org.bukkit.plugin.java.JavaPlugin.setEnabled(JavaPlugin.java:230)
        at org.bukkit.plugin.java.JavaPluginLoader.enablePlugin(JavaPluginLoader.java:970)
        at org.bukkit.plugin.SimplePluginManager.enablePlugin(SimplePluginManager.java:280)
        at org.bukkit.craftbukkit.CraftServer.loadPlugin(CraftServer.java:190)
        at org.bukkit.craftbukkit.CraftServer.enablePlugins(CraftServer.java:173)
        at net.minecraft.server.MinecraftServer.t(MinecraftServer.java:355)
        at net.minecraft.server.MinecraftServer.a(MinecraftServer.java:342)
        at net.minecraft.server.MinecraftServer.init(MinecraftServer.java:174)
        at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:406)
        at net.minecraft.server.ThreadServerApplication.run(SourceFile:465)
    
    Thanks in advance for your help.

    -Junior
     
  2. Offline

    Cecell

    JuniorGenius likes this.
  3. Offline

    JuniorGenius

    Thanks for the quick response, unfortunately when I try that it gives me a different error:

    Code:
    13:51:06 [SEVERE] Error occurred while enabling WorldEdit v5.1 (Is it up to date?): javax/script/ScriptException
    java.lang.NoClassDefFoundError: javax/script/ScriptException
        at com.sk89q.worldedit.bukkit.WorldEditPlugin.onEnable(WorldEditPlugin.java:79)
        at org.bukkit.plugin.java.JavaPlugin.setEnabled(JavaPlugin.java:230)
        at org.bukkit.plugin.java.JavaPluginLoader.enablePlugin(JavaPluginLoader.java:970)
        at org.bukkit.plugin.SimplePluginManager.enablePlugin(SimplePluginManager.java:280)
        at org.bukkit.craftbukkit.CraftServer.loadPlugin(CraftServer.java:190)
        at org.bukkit.craftbukkit.CraftServer.enablePlugins(CraftServer.java:173)
        at net.minecraft.server.MinecraftServer.t(MinecraftServer.java:355)
        at net.minecraft.server.MinecraftServer.a(MinecraftServer.java:342)
        at net.minecraft.server.MinecraftServer.init(MinecraftServer.java:174)
        at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:406)
        at net.minecraft.server.ThreadServerApplication.run(SourceFile:465)
     
  4. Offline

    Cecell

    Post your entire boot log from "starting server" on. Make sure to remove your SQL IP addresses if they are in there. No need to go spreading that all around. That should show your craftbukkit version and all your plugins.
     
  5. Offline

    JuniorGenius

    Okay. Here it is:

    Show Spoiler
    Code:
    174 recipes
    27 achievements
    14:04:07 [INFO] Starting minecraft server version 1.1
    14:04:07 [INFO] Loading properties
    14:04:07 [INFO] Starting Minecraft server on *:25565
    14:04:08 [INFO] This server is running Craftbukkit version git-Bukkit-1.0.1-R1-40-ge30dc2f-b1718jnks (MC: 1.1) (Implementing API version 1.1-R1-SNAPSHOT)
    14:04:08 [INFO] Preparing level "world"
    14:04:08 [INFO] Default game type: 1
    14:04:09 [INFO] Preparing start region for level 0 (Seed: -7414660883918908258)
    14:04:10 [INFO] Preparing spawn area: 12%
    14:04:11 [INFO] Preparing spawn area: 56%
    14:04:12 [INFO] Preparing start region for level 1 (Seed: -7414660883918908258)
    14:04:12 [INFO] Preparing spawn area: 0%
    14:04:13 [INFO] Preparing spawn area: 52%
    14:04:14 [INFO] Preparing start region for level 2 (Seed: -7414660883918908258)
    14:04:14 [INFO] Preparing spawn area: 8%
    14:04:15 [INFO] Preparing spawn area: 77%
    14:04:15 [SEVERE] Error occurred while enabling WorldEdit v5.1 (Is it up to date?): javax/script/ScriptException
    java.lang.NoClassDefFoundError: javax/script/ScriptException
        at com.sk89q.worldedit.bukkit.WorldEditPlugin.onEnable(WorldEditPlugin.java:79)
        at org.bukkit.plugin.java.JavaPlugin.setEnabled(JavaPlugin.java:230)
        at org.bukkit.plugin.java.JavaPluginLoader.enablePlugin(JavaPluginLoader.java:970)
        at org.bukkit.plugin.SimplePluginManager.enablePlugin(SimplePluginManager.java:280)
        at org.bukkit.craftbukkit.CraftServer.loadPlugin(CraftServer.java:190)
        at org.bukkit.craftbukkit.CraftServer.enablePlugins(CraftServer.java:173)
        at net.minecraft.server.MinecraftServer.t(MinecraftServer.java:355)
        at net.minecraft.server.MinecraftServer.a(MinecraftServer.java:342)
        at net.minecraft.server.MinecraftServer.init(MinecraftServer.java:174)
        at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:406)
        at net.minecraft.server.ThreadServerApplication.run(SourceFile:465)
    14:04:15 [INFO] Server permissions file permissions.yml is empty, ignoring it
    14:04:15 [INFO] Done (6.869s)! For help, type "help" or "?"
    >
     
  6. Offline

    Cecell

    Post this info:


    3. What version and architecture is your java install? (Type: java -version in command prompt.)
    If you run any GNU/Linux, run this command to get all 3:

    Code:
    uname -a && java -version



    Java 1.5.x has been known to not work well. Update to the latest version. (1.6.0_24 at the time of this post). While CraftBukkit is built against 1.5, many plugins are not and will not work if you run Java 1.5.
     
  7. Offline

    Yudaz

    Im not very good in English, but as how I get you is that you copied the "mod" from SinglePlayerCommands and over to your plugin folder? Is that correct?
     
  8. Offline

    JuniorGenius


    I copied the .jar file, so yes, you could say that.



    Okay here's the info:

    Code:
    Darwin H-G5.local 9.8.0 Darwin Kernel Version 9.8.0: Wed Jul 15 16:57:01 PDT 2009; root:xnu-1228.15.4~1/RELEASE_PPC Power Macintosh
    java version "1.5.0_30"
    Java(TM) 2 Runtime Environment, Standard Edition (build 1.5.0_30-b03-389-9M3425)
    Java HotSpot(TM) Client VM (build 1.5.0_30-161, mixed mode, sharing)
    I'll upgrade to 1.6.0_24.

    EDIT: The java site won't let me download it as it says I can from Software update, which shows no java update. >.<
     
  9. Offline

    Yudaz

    But doing that wont work... Download from here. Client mods doesnt work on servers. Regular servermods doesnt works with Craftbukkit and client mods doesnt work as plugins... ;)

    EDIT: But well the link I gave u is for the same as Cecell gave you. So this wont fix your error, but anyway keep this in mind...
     
  10. Offline

    JuniorGenius

    I think in this case it works with both.. I saw a video with it being done.. :confused:
     
  11. Offline

    Cecell

    Wow didn't know Apple was that closed. Well I just found this. I don't know what version of OSX you're using but maybe this will help you?

    http://support.apple.com/kb/DL1360
     
  12. Offline

    Yudaz

    Well if it works... The SinglePlayerCommand contains a Craftbukkit plugin, which seems very unlikely, but I dont know :p I havent been looking inside SinglePlayerCommands and almost not used it at all...
     
  13. Offline

    JuniorGenius

    I have 10.5.
     
  14. Offline

    Cecell

    Ouch. Sorry man =( I hope someone with more Mac experience can help you out.
     
    JuniorGenius likes this.
  15. Offline

    JuniorGenius

    Thank you and thanks for your help :)
     
Thread Status:
Not open for further replies.

Share This Page