tgxn / Backup

A Backup plugin for the Bukkit Server API.
http://bukkitbackup.com
GNU General Public License v3.0
23 stars 14 forks source link

Backup - startup error (1.8.5E) #60

Closed quickclay closed 12 years ago

quickclay commented 12 years ago

2012-01-21 07:57:36 [INFO] This server is running Craftbukkit version git-Bukkit-1.0.1-R1-92-ga260c85-b1783jnks (MC: 1.1) (Implementing API version 1.1-R1-SNAPSHOT) 2012-01-21 07:57:37 [SEVERE] Could not load 'plugins\Backup.jar' in folder 'plugins': java.lang.UnsupportedClassVersionError: net/tgxn/bukkit/backup/BackupMain : Unsupported major.minor version 51.0 at java.lang.ClassLoader.defineClass1(Native Method) at java.lang.ClassLoader.defineClassCond(Unknown Source) at java.lang.ClassLoader.defineClass(Unknown Source) at java.security.SecureClassLoader.defineClass(Unknown Source) at java.net.URLClassLoader.defineClass(Unknown Source) at java.net.URLClassLoader.access$000(Unknown Source) at java.net.URLClassLoader$1.run(Unknown Source) at java.security.AccessController.doPrivileged(Native Method) at java.net.URLClassLoader.findClass(Unknown Source) at org.bukkit.plugin.java.PluginClassLoader.findClass(PluginClassLoader.java:41) at org.bukkit.plugin.java.PluginClassLoader.findClass(PluginClassLoader.java:29) at java.lang.ClassLoader.loadClass(Unknown Source) at java.lang.ClassLoader.loadClass(Unknown Source) at java.lang.Class.forName0(Native Method) at java.lang.Class.forName(Unknown Source) at org.bukkit.plugin.java.JavaPluginLoader.loadPlugin(JavaPluginLoader.java:178) at org.bukkit.plugin.SimplePluginManager.loadPlugin(SimplePluginManager.java:187) at org.bukkit.plugin.SimplePluginManager.loadPlugins(SimplePluginManager.java:108) at org.bukkit.craftbukkit.CraftServer.loadPlugins(CraftServer.java:155) at org.bukkit.craftbukkit.CraftServer.(CraftServer.java:131) at net.minecraft.server.ServerConfigurationManager.(ServerConfigurationManager.java:52) at net.minecraft.server.MinecraftServer.init(MinecraftServer.java:148) at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:407) at net.minecraft.server.ThreadServerApplication.run(SourceFile:465)

quickclay commented 12 years ago

Oops saw your previous note about needing to delete and regenerate the config files. Testing again.

tgxn commented 12 years ago

Please advise outcome.

I have also posted a note for you in the other issue, =D

ghost commented 12 years ago

2012-01-22 05:40:11 [INFO] This server is running Craftbukkit version git-Bukkit-1.0.1-R1-102-gbc4d4c1-b1796jnks (MC: 1.1) (Implementing API version 1.1-R1-SNAPSHOT) 2012-01-22 05:40:11 [SEVERE] Could not load 'plugins\Backup.jar' in folder 'plugins': java.lang.UnsupportedClassVersionError: net/tgxn/bukkit/backup/BackupMain : Unsupported major.minor version 51.0 at java.lang.ClassLoader.defineClass1(Native Method) at java.lang.ClassLoader.defineClassCond(Unknown Source) at java.lang.ClassLoader.defineClass(Unknown Source) at java.security.SecureClassLoader.defineClass(Unknown Source) at java.net.URLClassLoader.defineClass(Unknown Source) at java.net.URLClassLoader.access$000(Unknown Source) at java.net.URLClassLoader$1.run(Unknown Source) at java.security.AccessController.doPrivileged(Native Method) at java.net.URLClassLoader.findClass(Unknown Source) at org.bukkit.plugin.java.PluginClassLoader.findClass(PluginClassLoader.java:41) at org.bukkit.plugin.java.PluginClassLoader.findClass(PluginClassLoader.java:29) at java.lang.ClassLoader.loadClass(Unknown Source) at java.lang.ClassLoader.loadClass(Unknown Source) at java.lang.Class.forName0(Native Method) at java.lang.Class.forName(Unknown Source) at org.bukkit.plugin.java.JavaPluginLoader.loadPlugin(JavaPluginLoader.java:175) at org.bukkit.plugin.SimplePluginManager.loadPlugin(SimplePluginManager.java:188) at org.bukkit.plugin.SimplePluginManager.loadPlugins(SimplePluginManager.java:109) at org.bukkit.craftbukkit.CraftServer.loadPlugins(CraftServer.java:156) at org.bukkit.craftbukkit.CraftServer.(CraftServer.java:132) at net.minecraft.server.ServerConfigurationManager.(ServerConfigurationManager.java:52) at net.minecraft.server.MinecraftServer.init(MinecraftServer.java:148) at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:407) at net.minecraft.server.ThreadServerApplication.run(SourceFile:465)

And sry that my english is that bad, but to flame about .. if i try my best is not the best way to clear problems. do you not want to get issues? then i stop this ... and leave it alone ~.~

tgxn commented 12 years ago

@silencshadow Please, Check the version of Java you are running. I have compiled the latest build with Java 1.6 so they will work with BOTH jre6 and jre7. Double check your versions, other than that, I haven't a clue why you are having these issues. Also, Please keep your issues in your own thread from now on.

ghost commented 12 years ago

Since we write here, i dont want to create a new one, but next i will do.

I got the Java 6 Update 30 installed on my Root .... i think its not the java engine ...

quickclay commented 12 years ago

Error remains after config files deleted. Did not generate new ones.

xZise commented 12 years ago

Got the same problem:

fabian@vps1:~$ java -version
java version "1.6.0_26"
Java(TM) SE Runtime Environment (build 1.6.0_26-b03)
Java HotSpot(TM) Server VM (build 20.1-b02, mixed mode)

And it remains after removing all configuration files!

Fabian

tgxn commented 12 years ago

Should be resolved, Please test, thanks.

http://dev.bukkit.org/server-mods/backup/files/12/

xZise commented 12 years ago

It is working flawlessly. Didn't test if the backups are valid but it isn't crashing anymore.

Fabian

tgxn commented 12 years ago

Thankyou, I had found the problem, It seems to be originating from Jenkins, Whenever it is built there, it would build with incompatible issues, so I've taken it down while I get it fixed.

It should be back up in a couple days after I can confirm it works. Sorry about these issues again.