I wanted a Minecraft plugin for 1.8 programming. I have the same spigot version for the server and the plugin.
I program with IntelliJ.
The following error occurred after starting the server with the plugin:
[15:39:13 ERROR]: Could not load 'plugins \ LobbySytem.jar' in folder 'plugins'
org.bukkit.plugin.InvalidPluginException: java.lang.UnsupportedClassVersionError: de / dogame5 / probe / main / Main has been compiled by a more recent version of the Java Runtime (class file version 57.0), this version of the Java Runtime only recognizes class file versions up to 52.0
What can I do to solve the problem?
You are using a new version of Java that is not yet supported. You're always safe with Java 8.
Ok, how can I change that again?
How can I change this?
You can uninstall your Java and install Java 8.
Ok, but doesn't that cause problems with Minecraft? Java always has to be up to date