org.bukkit.plugin.InvalidPluginException

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.

  • GitHub comment 98#240175727
    via GitHub by TheKingCreepy
    ,
  • GitHub comment 3#166158348
    via GitHub by LeonP-S
    ,
  • Plugin not loading.
    via GitHub by yetshadow
    ,
  • GitHub comment 4#167602968
    via GitHub by Ser3196
    ,
  • GitHub comment 239#171427122
    via GitHub by Block-Build
    ,
    • org.bukkit.plugin.InvalidPluginException: java.lang.UnsupportedClassVersionError: com/comze_instancelabs/minigamesapi/MinigamesAPI : Unsupported major.minor version 52.0 at org.bukkit.plugin.java.JavaPluginLoader.loadPlugin(JavaPluginLoader.java:135)[spigot-1.8.8.jar:git-Spigot-6c9b0a1-de5c261] at org.bukkit.plugin.SimplePluginManager.loadPlugin(SimplePluginManager.java:329)[spigot-1.8.8.jar:git-Spigot-6c9b0a1-de5c261] at org.bukkit.plugin.SimplePluginManager.loadPlugins(SimplePluginManager.java:275)[spigot-1.8.8.jar:git-Spigot-6c9b0a1-de5c261] at org.bukkit.craftbukkit.v1_8_R3.CraftServer.loadPlugins(CraftServer.java:291)[spigot-1.8.8.jar:git-Spigot-6c9b0a1-de5c261] at net.minecraft.server.v1_8_R3.DedicatedServer.init(DedicatedServer.java:198)[spigot-1.8.8.jar:git-Spigot-6c9b0a1-de5c261] at net.minecraft.server.v1_8_R3.MinecraftServer.run(MinecraftServer.java:524)[spigot-1.8.8.jar:git-Spigot-6c9b0a1-de5c261] at java.lang.Thread.run(Unknown Source)[?:1.7.0_80] Caused by: java.lang.UnsupportedClassVersionError: com/comze_instancelabs/minigamesapi/MinigamesAPI : Unsupported major.minor version 52.0 at java.lang.ClassLoader.defineClass1(Native Method)[?:1.7.0_80] at java.lang.ClassLoader.defineClass(Unknown Source)[?:1.7.0_80] at java.security.SecureClassLoader.defineClass(Unknown Source)[?:1.7.0_80] at java.net.URLClassLoader.defineClass(Unknown Source)[?:1.7.0_80] at java.net.URLClassLoader.access$100(Unknown Source)[?:1.7.0_80] at java.net.URLClassLoader$1.run(Unknown Source)[?:1.7.0_80] at java.net.URLClassLoader$1.run(Unknown Source)[?:1.7.0_80] at java.security.AccessController.doPrivileged(Native Method)[?:1.7.0_80] at java.net.URLClassLoader.findClass(Unknown Source)[?:1.7.0_80] at org.bukkit.plugin.java.PluginClassLoader.findClass(PluginClassLoader.java:101)[spigot-1.8.8.jar:git-Spigot-6c9b0a1-de5c261] at org.bukkit.plugin.java.PluginClassLoader.findClass(PluginClassLoader.java:86)[spigot-1.8.8.jar:git-Spigot-6c9b0a1-de5c261] at java.lang.ClassLoader.loadClass(Unknown Source)[?:1.7.0_80] at java.lang.ClassLoader.loadClass(Unknown Source)[?:1.7.0_80] at java.lang.Class.forName0(Native Method)[?:1.7.0_80] at java.lang.Class.forName(Unknown Source)[?:1.7.0_80] at org.bukkit.plugin.java.PluginClassLoader.<init>(PluginClassLoader.java:64)[spigot-1.8.8.jar:git-Spigot-6c9b0a1-de5c261] at org.bukkit.plugin.java.JavaPluginLoader.loadPlugin(JavaPluginLoader.java:131)[spigot-1.8.8.jar:git-Spigot-6c9b0a1-de5c261] ... 6 more

    Users with the same issue

    Unknown visitor
    Unknown visitor1 times, last one,
    Unknown visitor
    Unknown visitor1 times, last one,
    andyglickandyglick
    6 times, last one,
    rafaelrafael
    2 times, last one,
    Unknown visitor
    Unknown visitor1 times, last one,
    192 more bugmates