org.bukkit.plugin.InvalidPluginException

If you like a tip written by other Samebug users, mark is as helpful! Marks help our algorithm provide you better solutions and also help other users.
tip

This might be caused by and outdated version of Java, SonarQube now uses Java 8 as default. You might upgrade java or use an older version of SonarQube.

tip

If you're using intellij plugin of sonarqube, you might have to set the JAVA_HOME ambient variable manually.

tip

Update "latest" to Java 8 on DockerHub.

tip

You're using an older version of java with classes compiled for java7

You have a different solution? A short tip here would help you and many other users who saw this issue last week.

  • Error
    via GitHub by ProAngelGR
    ,
  • could not load mccore
    via GitHub by dpl15769
    ,
  • java.lang.UnsupportedClassVersionError | Bukkit Forums
    via by Unknown author,
  • GitHub comment 115#240699160
    via GitHub by Ben12345rocks
    ,
    • org.bukkit.plugin.InvalidPluginException: java.lang.UnsupportedClassVersionError: me/vik1395/ProtectionStones/Main : Unsupported major.minor version 52.0 at org.bukkit.plugin.java.JavaPluginLoader.loadPlugin(JavaPluginLoader.java:135)[craftbukkit.jar:git-Spigot-c3e4052-1953f52] at org.bukkit.plugin.SimplePluginManager.loadPlugin(SimplePluginManager.java:329)[craftbukkit.jar:git-Spigot-c3e4052-1953f52] at org.bukkit.plugin.SimplePluginManager.loadPlugins(SimplePluginManager.java:251)[craftbukkit.jar:git-Spigot-c3e4052-1953f52] at org.bukkit.craftbukkit.v1_10_R1.CraftServer.loadPlugins(CraftServer.java:297)[craftbukkit.jar:git-Spigot-c3e4052-1953f52] at net.minecraft.server.v1_10_R1.DedicatedServer.init(DedicatedServer.java:202)[craftbukkit.jar:git-Spigot-c3e4052-1953f52] at net.minecraft.server.v1_10_R1.MinecraftServer.run(MinecraftServer.java:539)[craftbukkit.jar:git-Spigot-c3e4052-1953f52] at java.lang.Thread.run(Unknown Source)[?:1.7.0_71] Caused by: java.lang.UnsupportedClassVersionError: me/vik1395/ProtectionStones/Main : Unsupported major.minor version 52.0 at java.lang.ClassLoader.defineClass1(Native Method)[?:1.7.0_71] at java.lang.ClassLoader.defineClass(Unknown Source)[?:1.7.0_71] at java.security.SecureClassLoader.defineClass(Unknown Source)[?:1.7.0_71] at java.net.URLClassLoader.defineClass(Unknown Source)[?:1.7.0_71] at java.net.URLClassLoader.access$100(Unknown Source)[?:1.7.0_71] at java.net.URLClassLoader$1.run(Unknown Source)[?:1.7.0_71] at java.net.URLClassLoader$1.run(Unknown Source)[?:1.7.0_71] at java.security.AccessController.doPrivileged(Native Method)[?:1.7.0_71] at java.net.URLClassLoader.findClass(Unknown Source)[?:1.7.0_71] at org.bukkit.plugin.java.PluginClassLoader.findClass(PluginClassLoader.java:101)[craftbukkit.jar:git-Spigot-c3e4052-1953f52] at org.bukkit.plugin.java.PluginClassLoader.findClass(PluginClassLoader.java:86)[craftbukkit.jar:git-Spigot-c3e4052-1953f52] at java.lang.ClassLoader.loadClass(Unknown Source)[?:1.7.0_71] at java.lang.ClassLoader.loadClass(Unknown Source)[?:1.7.0_71] at java.lang.Class.forName0(Native Method)[?:1.7.0_71] at java.lang.Class.forName(Unknown Source)[?:1.7.0_71] at org.bukkit.plugin.java.PluginClassLoader.<init>(PluginClassLoader.java:64)[craftbukkit.jar:git-Spigot-c3e4052-1953f52] at org.bukkit.plugin.java.JavaPluginLoader.loadPlugin(JavaPluginLoader.java:131)[craftbukkit.jar:git-Spigot-c3e4052-1953f52]

    Users with the same issue

    Unknown visitor1 times, last one,
    Unknown visitor1 times, last one,
    andyglick
    6 times, last one,
    rafael
    2 times, last one,
    Unknown visitor1 times, last one,
    192 more bugmates