• Hello Guest! Did you know that ProjectKorra has an official Discord server? A lot of discussion about the official server, development process, and community discussion happens over there. Feel free to join now by clicking the link below.

    Join the Discord Server

Bug Report Project Korra Core Unable to Load

junyynyyn

Verified Member
-ProjectKorraCore
-ProjectKorra 1.6.0 BETA 15
-Not sure whether this is a bug but the plugin fails to load.
- When I try to load up the plugin this error occurs:
ERROR]: Could not load 'plugins/Korra.jar' in folder 'plugins'

org.bukkit.plugin.InvalidPluginException: java.lang.UnsupportedClassVersionError: com/projectkorra/ProjectKorra/ProjectKorra : Unsupported major.minor version 51.0

at org.bukkit.plugin.java.JavaPluginLoader.loadPlugin(JavaPluginLoader.java:133) ~[craftbukkit_server.jar:git-Bukkit-e81edfc]

at org.bukkit.plugin.SimplePluginManager.loadPlugin(SimplePluginManager.java:328) ~[craftbukkit_server.jar:git-Bukkit-e81edfc]

at org.bukkit.plugin.SimplePluginManager.loadPlugins(SimplePluginManager.java:251) [craftbukkit_server.jar:git-Bukkit-e81edfc]

at org.bukkit.craftbukkit.v1_8_R1.CraftServer.loadPlugins(CraftServer.java:288) [craftbukkit_server.jar:git-Bukkit-e81edfc]

at org.bukkit.craftbukkit.v1_8_R1.CraftServer.<init>(CraftServer.java:250) [craftbukkit_server.jar:git-Bukkit-e81edfc]

at net.minecraft.server.v1_8_R1.PlayerList.<init>(PlayerList.java:69) [craftbukkit_server.jar:git-Bukkit-e81edfc]

at net.minecraft.server.v1_8_R1.DedicatedPlayerList.<init>(SourceFile:14) [craftbukkit_server.jar:git-Bukkit-e81edfc]

at net.minecraft.server.v1_8_R1.DedicatedServer.init(DedicatedServer.java:133) [craftbukkit_server.jar:git-Bukkit-e81edfc]

at net.minecraft.server.v1_8_R1.MinecraftServer.run(MinecraftServer.java:484) [craftbukkit_server.jar:git-Bukkit-e81edfc]

at java.lang.Thread.run(Thread.java:695) [?:1.6.0_65]

Caused by: java.lang.UnsupportedClassVersionError: com/projectkorra/ProjectKorra/ProjectKorra : Unsupported major.minor version 51.0

at java.lang.ClassLoader.defineClass1(Native Method) ~[?:1.6.0_65]

at java.lang.ClassLoader.defineClassCond(ClassLoader.java:637) ~[?:1.6.0_65]

at java.lang.ClassLoader.defineClass(ClassLoader.java:621) ~[?:1.6.0_65]

at java.security.SecureClassLoader.defineClass(SecureClassLoader.java:141) ~[?:1.6.0_65]

at java.net.URLClassLoader.defineClass(URLClassLoader.java:283) ~[?:1.6.0_65]

at java.net.URLClassLoader.access$000(URLClassLoader.java:58) ~[?:1.6.0_65]

at java.net.URLClassLoader$1.run(URLClassLoader.java:197) ~[?:1.6.0_65]

at java.security.AccessController.doPrivileged(Native Method) ~[?:1.6.0_65]

at java.net.URLClassLoader.findClass(URLClassLoader.java:190) ~[?:1.6.0_65]

at org.bukkit.plugin.java.PluginClassLoader.findClass(PluginClassLoader.java:77) ~[craftbukkit_server.jar:git-Bukkit-e81edfc]

at org.bukkit.plugin.java.PluginClassLoader.findClass(PluginClassLoader.java:62) ~[craftbukkit_server.jar:git-Bukkit-e81edfc]

at java.lang.ClassLoader.loadClass(ClassLoader.java:306) ~[?:1.6.0_65]

at java.lang.ClassLoader.loadClass(ClassLoader.java:247) ~[?:1.6.0_65]

at java.lang.Class.forName0(Native Method) ~[?:1.6.0_65]

at java.lang.Class.forName(Class.java:249) ~[?:1.6.0_65]

at org.bukkit.plugin.java.PluginClassLoader.<init>(PluginClassLoader.java:40) ~[craftbukkit_server.jar:git-Bukkit-e81edfc]

at org.bukkit.plugin.java.JavaPluginLoader.loadPlugin(JavaPluginLoader.java:129) ~[craftbukkit_server.jar:git-Bukkit-e81edfc]

... 9 more

- The plugin should load smoothly, and I should be able to bend.
 

junyynyyn

Verified Member
I want to be cybersafe so I'm keeping some of it from you, but here.

/Desktop/Jun\'s/Games/Minecraft/Servers/Avatar/start.command ; exit;

Loading libraries, please wait...

[07:49:16 INFO]: Starting minecraft server version 1.8

[07:49:16 INFO]: Loading properties

[07:49:16 INFO]: Default game type: SURVIVAL

[07:49:16 INFO]: Generating keypair

[07:49:16 INFO]: Starting Minecraft server on *:25565

[07:49:17 INFO]: This server is running CraftBukkit version git-Bukkit-e81edfc (MC: 1.8) (Implementing API version 1.8-R0.1-SNAPSHOT)

[07:49:17 ERROR]: Could not load 'plugins/Korra.jar' in folder 'plugins'

org.bukkit.plugin.InvalidPluginException: java.lang.UnsupportedClassVersionError: com/projectkorra/ProjectKorra/ProjectKorra : Unsupported major.minor version 51.0

at org.bukkit.plugin.java.JavaPluginLoader.loadPlugin(JavaPluginLoader.java:133) ~[craftbukkit_server.jar:git-Bukkit-e81edfc]

at org.bukkit.plugin.SimplePluginManager.loadPlugin(SimplePluginManager.java:328) ~[craftbukkit_server.jar:git-Bukkit-e81edfc]

at org.bukkit.plugin.SimplePluginManager.loadPlugins(SimplePluginManager.java:251) [craftbukkit_server.jar:git-Bukkit-e81edfc]

at org.bukkit.craftbukkit.v1_8_R1.CraftServer.loadPlugins(CraftServer.java:288) [craftbukkit_server.jar:git-Bukkit-e81edfc]

at org.bukkit.craftbukkit.v1_8_R1.CraftServer.<init>(CraftServer.java:250) [craftbukkit_server.jar:git-Bukkit-e81edfc]

at net.minecraft.server.v1_8_R1.PlayerList.<init>(PlayerList.java:69) [craftbukkit_server.jar:git-Bukkit-e81edfc]

at net.minecraft.server.v1_8_R1.DedicatedPlayerList.<init>(SourceFile:14) [craftbukkit_server.jar:git-Bukkit-e81edfc]

at net.minecraft.server.v1_8_R1.DedicatedServer.init(DedicatedServer.java:133) [craftbukkit_server.jar:git-Bukkit-e81edfc]

at net.minecraft.server.v1_8_R1.MinecraftServer.run(MinecraftServer.java:484) [craftbukkit_server.jar:git-Bukkit-e81edfc]

at java.lang.Thread.run(Thread.java:695) [?:1.6.0_65]

Caused by: java.lang.UnsupportedClassVersionError: com/projectkorra/ProjectKorra/ProjectKorra : Unsupported major.minor version 51.0

at java.lang.ClassLoader.defineClass1(Native Method) ~[?:1.6.0_65]

at java.lang.ClassLoader.defineClassCond(ClassLoader.java:637) ~[?:1.6.0_65]

at java.lang.ClassLoader.defineClass(ClassLoader.java:621) ~[?:1.6.0_65]

at java.security.SecureClassLoader.defineClass(SecureClassLoader.java:141) ~[?:1.6.0_65]

at java.net.URLClassLoader.defineClass(URLClassLoader.java:283) ~[?:1.6.0_65]

at java.net.URLClassLoader.access$000(URLClassLoader.java:58) ~[?:1.6.0_65]

at java.net.URLClassLoader$1.run(URLClassLoader.java:197) ~[?:1.6.0_65]

at java.security.AccessController.doPrivileged(Native Method) ~[?:1.6.0_65]

at java.net.URLClassLoader.findClass(URLClassLoader.java:190) ~[?:1.6.0_65]

at org.bukkit.plugin.java.PluginClassLoader.findClass(PluginClassLoader.java:77) ~[craftbukkit_server.jar:git-Bukkit-e81edfc]

at org.bukkit.plugin.java.PluginClassLoader.findClass(PluginClassLoader.java:62) ~[craftbukkit_server.jar:git-Bukkit-e81edfc]

at java.lang.ClassLoader.loadClass(ClassLoader.java:306) ~[?:1.6.0_65]

at java.lang.ClassLoader.loadClass(ClassLoader.java:247) ~[?:1.6.0_65]

at java.lang.Class.forName0(Native Method) ~[?:1.6.0_65]

at java.lang.Class.forName(Class.java:249) ~[?:1.6.0_65]

at org.bukkit.plugin.java.PluginClassLoader.<init>(PluginClassLoader.java:40) ~[craftbukkit_server.jar:git-Bukkit-e81edfc]

at org.bukkit.plugin.java.JavaPluginLoader.loadPlugin(JavaPluginLoader.java:129) ~[craftbukkit_server.jar:git-Bukkit-e81edfc]

... 9 more

[07:49:17 INFO]: Preparing level "world"

[07:49:17 INFO]: Preparing start region for level 0 (Seed: -3273168212727567102)

[07:49:18 INFO]: Preparing spawn area: 25%

[07:49:19 INFO]: Preparing spawn area: 85%

[07:49:19 INFO]: Preparing start region for level 1 (Seed: -3273168212727567102)

[07:49:20 INFO]: Preparing spawn area: 88%

[07:49:21 INFO]: Preparing start region for level 2 (Seed: -3273168212727567102)

[07:49:21 INFO]: Server permissions file permissions.yml is empty, ignoring it

[07:49:21 INFO]: Done (4.078s)! For help, type "help" or "?"

Also if it helps, I'm using a macbook air.
 

jedk1

New Member
1) its a java version error, you cant be using java 7 for the server
2) ew a mac what is wrong with you.
 

junyynyyn

Verified Member
Just to be 100% sure, whats the startup script your using and could you please open terminal and type "java -version"
#!/bin/bash
cd "$( dirname "$0" )"
java -Xmx7168M -jar craftbukkit_server.jar -o true

That command says my java is version 1.6.0_65? I thought I installed java 7???
 
Top