Uploaded image for project: 'SpigotPlugins'
  1. SpigotPlugins
  2. PLUG-440

Error After Compiling Plugin

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Invalid
    • Icon: Minor Minor
    • Craftbukkit 1.16.5

    • 1.16.5
    • Legendz-RPG
    • Yes

      [09:58:37] [Server thread/ERROR]: Could not load 'plugins\legendzrpg.jar' in folder 'plugins'
      org.bukkit.plugin.InvalidPluginException: java.lang.UnsupportedClassVersionError: me/plugin/legendzrpg/main/main has been compiled by a more recent version of the Java Runtime (class file version 59.0), this version of the Java Runtime only recognizes class file versions up to 52.0
      at org.bukkit.plugin.java.JavaPluginLoader.loadPlugin(JavaPluginLoader.java:137) ~[craftbukkit.jar:2991-Bukkit-f3f3094]
      at org.bukkit.plugin.SimplePluginManager.loadPlugin(SimplePluginManager.java:393) ~[craftbukkit.jar:2991-Bukkit-f3f3094]
      at org.bukkit.plugin.SimplePluginManager.loadPlugins(SimplePluginManager.java:301) ~[craftbukkit.jar:2991-Bukkit-f3f3094]
      at org.bukkit.craftbukkit.v1_16_R3.CraftServer.loadPlugins(CraftServer.java:381) ~[craftbukkit.jar:2991-Bukkit-f3f3094]
      at org.bukkit.craftbukkit.v1_16_R3.CraftServer.reload(CraftServer.java:855) ~[craftbukkit.jar:2991-Bukkit-f3f3094]
      at org.bukkit.Bukkit.reload(Bukkit.java:651) ~[craftbukkit.jar:2991-Bukkit-f3f3094]
      at org.bukkit.command.defaults.ReloadCommand.execute(ReloadCommand.java:27) ~[craftbukkit.jar:2991-Bukkit-f3f3094]
      at org.bukkit.command.SimpleCommandMap.dispatch(SimpleCommandMap.java:148) ~[craftbukkit.jar:2991-Bukkit-f3f3094]
      at org.bukkit.craftbukkit.v1_16_R3.CraftServer.dispatchCommand(CraftServer.java:742) ~[craftbukkit.jar:2991-Bukkit-f3f3094]
      at org.bukkit.craftbukkit.v1_16_R3.CraftServer.dispatchServerCommand(CraftServer.java:728) ~[craftbukkit.jar:2991-Bukkit-f3f3094]
      at net.minecraft.server.v1_16_R3.DedicatedServer.handleCommandQueue(DedicatedServer.java:373) ~[craftbukkit.jar:2991-Bukkit-f3f3094]
      at net.minecraft.server.v1_16_R3.DedicatedServer.b(DedicatedServer.java:343) ~[craftbukkit.jar:2991-Bukkit-f3f3094]
      at net.minecraft.server.v1_16_R3.MinecraftServer.a(MinecraftServer.java:964) ~[craftbukkit.jar:2991-Bukkit-f3f3094]
      at net.minecraft.server.v1_16_R3.MinecraftServer.w(MinecraftServer.java:812) ~[craftbukkit.jar:2991-Bukkit-f3f3094]
      at net.minecraft.server.v1_16_R3.MinecraftServer.lambda$0(MinecraftServer.java:155) ~[craftbukkit.jar:2991-Bukkit-f3f3094]
      at java.lang.Thread.run(Unknown Source) [?:1.8.0_281]
      Caused by: java.lang.UnsupportedClassVersionError: me/plugin/legendzrpg/main/main has been compiled by a more recent version of the Java Runtime (class file version 59.0), this version of the Java Runtime only recognizes class file versions up to 52.0
      at java.lang.ClassLoader.defineClass1(Native Method) ~[?:1.8.0_281]
      at java.lang.ClassLoader.defineClass(Unknown Source) ~[?:1.8.0_281]
      at java.security.SecureClassLoader.defineClass(Unknown Source) ~[?:1.8.0_281]
      at org.bukkit.plugin.java.PluginClassLoader.findClass(PluginClassLoader.java:163) ~[craftbukkit.jar:2991-Bukkit-f3f3094]
      at org.bukkit.plugin.java.PluginClassLoader.findClass(PluginClassLoader.java:96) ~[craftbukkit.jar:2991-Bukkit-f3f3094]
      at java.lang.ClassLoader.loadClass(Unknown Source) ~[?:1.8.0_281]
      at java.lang.ClassLoader.loadClass(Unknown Source) ~[?:1.8.0_281]
      at java.lang.Class.forName0(Native Method) ~[?:1.8.0_281]
      at java.lang.Class.forName(Unknown Source) ~[?:1.8.0_281]
      at org.bukkit.plugin.java.PluginClassLoader.<init>(PluginClassLoader.java:64) ~[craftbukkit.jar:2991-Bukkit-f3f3094]
      at org.bukkit.plugin.java.JavaPluginLoader.loadPlugin(JavaPluginLoader.java:133) ~[craftbukkit.jar:2991-Bukkit-f3f3094]
      ... 15 more

            Unassigned Unassigned
            silentwarrior600 Peyton Barnes-Boler
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: