Hey, I can get my server to run fine, but if i close it and then re open it (say to change a map or something) it gives me this.
Exception in thread "main" java.lang.NoClassDefFoundError: com/mojang/minecraft/server/MinecraftServer
Caused by: java.lang.ClassNotFoundException: com.mojang.minecraft.server.MinecraftServer
at java.net.URLClassLoader$1.run(URLClassLoader.java:217)
at java.security.AccessController.doPrivileged(Native Method)
at java.net.URLClassLoader.findClass(URLClassLoader.java:205)
at java.lang.ClassLoader.loadClass(ClassLoader.java:319)
at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:294)
at java.lang.ClassLoader.loadClass(ClassLoader.java:264)
at java.lang.ClassLoader.loadClassInternal(ClassLoader.java:332)
Could not find the main class: com.mojang.minecraft.server.MinecraftServer. Program will exit.
On Ubuntu Server 9.10, latest java in the repo
NOTE!! Works fine if i reboot! Unless i take it down again!
Thanks
ps, i would just reboot every time (even though thats annoying) but i host a public build which seems to get a decent amount of traffic, and i dont want to do that to them.
The exact same error keeps popping up with me on my VPS. Its running CentOS 5.4. However, even if I restart it I get the same error. Help for this would be appreciated.
It must be a bug with the latest server revision; I've been using the second-most recent one (the one before Notch added an option for trees), and this has never happened to me.
Exception in thread "main" java.lang.NoClassDefFoundError: com/mojang/minecraft/server/MinecraftServer
Caused by: java.lang.ClassNotFoundException: com.mojang.minecraft.server.MinecraftServer
at java.net.URLClassLoader$1.run(URLClassLoader.java:217)
at java.security.AccessController.doPrivileged(Native Method)
at java.net.URLClassLoader.findClass(URLClassLoader.java:205)
at java.lang.ClassLoader.loadClass(ClassLoader.java:319)
at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:294)
at java.lang.ClassLoader.loadClass(ClassLoader.java:264)
at java.lang.ClassLoader.loadClassInternal(ClassLoader.java:332)
Could not find the main class: com.mojang.minecraft.server.MinecraftServer. Program will exit.
On Ubuntu Server 9.10, latest java in the repo
NOTE!! Works fine if i reboot! Unless i take it down again!
Thanks
ps, i would just reboot every time (even though thats annoying) but i host a public build which seems to get a decent amount of traffic, and i dont want to do that to them.
[bookshelf] [bookshelf] [bookshelf] [bookshelf] [bookshelf] [bookshelf] [bookshelf] [bookshelf] [bookshelf] [bookshelf] [bookshelf] [bookshelf] [bookshelf] [bookshelf]