Server transfer and errors?!

Discussion in 'Bukkit Help' started by Phantom Index, Jan 29, 2011.

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

    Phantom Index

    1. Linux CentOS
    2. 64 bit
    3.
    Code:
    Linux ip-184-168-85-115.ip.secureserver.net 2.6.18-028stab070.14 #1 SMP Thu Nov 18 16:04:02 MSK 2010 i686 i686 i386 GNU/Linux
    java version "1.5.0_22"
    Java(TM) 2 Runtime Environment, Standard Edition (build 1.5.0_22-b03)
    Java HotSpot(TM) Server VM (build 1.5.0_22-b03, mixed mode)
    4. craftbukkit_build_168
    5. screen -s Minecraft -Xms2012M -Xmx2012M -jar craftbukkit.jar nogui

    6. WorldEdit,WorldGuard,Permissions, Essentials, MagicCarpet, BlockHead, LWC, dynmap, CraftIRC, Minequery, iChat, iConomy,Guestbook, Loginmessage
    I had a server hosted on provisionhost and i had many plugins running just fine.
    I purchased a new VPS to have a 100 slot server. I transfered the EXACT same files from that server to the new one. I ran the SSH command to start it up and this is the error I received!

    Code:
            at net.minecraft.server.ThreadServerApplication.run(SourceFile:512)
    Caused by: java.lang.UnsupportedClassVersionError: Bad version number in .class file
            at java.lang.ClassLoader.defineClass1(Native Method)
            at java.lang.ClassLoader.defineClass(ClassLoader.java:621)
            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:30)
            at java.lang.ClassLoader.loadClass(ClassLoader.java:307)
            at java.lang.ClassLoader.loadClass(ClassLoader.java:252)
            at java.lang.ClassLoader.loadClassInternal(ClassLoader.java:320)
            at java.lang.Class.forName0(Native Method)
            at java.lang.Class.forName(Class.java:242)
            at org.bukkit.plugin.java.JavaPluginLoader.loadPlugin(JavaPluginLoader.java:80)
            ... 8 more
    
    I removed all plugins and then the server was fine with no errors. I then after added one plugin into the plugins folder and up came the same error.
    --- merged: Jan 30, 2011 6:53 AM ---
    Now when I try craftbukkit on it's own and login. Any type of "/" command in-game will shut down the server.
     
  2. Offline

    Pezmantbh

    I have read that this is an issue with build 168. Try to revert back to 166 (This is the build I am using, and it works well)
     
  3. Offline

    Phantom Index

    I just did. I originally had build 166, but once i copied everything to the new server
    I't started t give me that problem. I updated to 168 and got the same thing. Now I went back to 166 and got this..


    Code:
     at net.minecraft.server.ThreadServerApplication.run(SourceFile:512)
    Caused by: java.lang.UnsupportedClassVersionError: Bad version number in .class file
            at java.lang.ClassLoader.defineClass1(Native Method)
            at java.lang.ClassLoader.defineClass(ClassLoader.java:621)
            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:30)
            at java.lang.ClassLoader.loadClass(ClassLoader.java:307)
            at java.lang.ClassLoader.loadClass(ClassLoader.java:252)
            at java.lang.ClassLoader.loadClassInternal(ClassLoader.java:320)
            at java.lang.Class.forName0(Native Method)
            at java.lang.Class.forName(Class.java:242)
            at org.bukkit.plugin.java.JavaPluginLoader.loadPlugin(JavaPluginLoader.java:80)
            ... 8 more
    
     
  4. Offline

    TnT Retired Staff

    Try 164?

    I'm on 166 myself, but haven't updated any plugins since then. Are you trying plugins that have been updated already? Build 168 started doing funky stuff with plugins, and some devs have updated, some haven't.
     
  5. Offline

    Phantom Index

    I didn't update anything really.
     
  6. Offline

    Pezmantbh

    When you added a single plugin back into the plugins folder, which one was it? Try it with each one, to see if it is just a problem with that specific plugin...
     
Thread Status:
Not open for further replies.

Share This Page