Stargate Rewritten

Stargate Rewritten

241 Downloads

Bukkit Incompatibility [TMS 222175]

Pheotis opened this issue ยท 0 comments

commented

When installed on a Bukkit 1.18.2 instance (without spigot or paper), the plugin immediately crashes with a stack trace.

Environment

Plugin Version: ALPHA-1.0.0.4 (Fresh install, Test Environment unit 1-CraftBukkit-Online-MigNew-Modern)
Server Version: CraftBukkit 3491-Bukkit-95d233d (MC: 1.18.2) Implementing API Version 1.18.2-R0.1-SNAPSHOT

Details:

[14:49:03] [Server thread/INFO]: This server is running CraftBukkit version 3491-Bukkit-95d233d (MC: 1.18.2) (Implementing API version 1.18.2-R0.1-SNAPSHOT)
[14:49:04] [Server thread/ERROR]: Could not load 'plugins\Stargate-1.0.0.4-ALPHA.jar' in folder 'plugins'
org.bukkit.plugin.InvalidPluginException: java.lang.NoClassDefFoundError: net/md_5/bungee/api/ChatColor
        at org.bukkit.plugin.java.JavaPluginLoader.loadPlugin(JavaPluginLoader.java:147) ~[bukkit-1.18.2-R0.1-SNAPSHOT.jar:?]
        at org.bukkit.plugin.SimplePluginManager.loadPlugin(SimplePluginManager.java:393) ~[bukkit-1.18.2-R0.1-SNAPSHOT.jar:?]
        at org.bukkit.plugin.SimplePluginManager.loadPlugins(SimplePluginManager.java:301) ~[bukkit-1.18.2-R0.1-SNAPSHOT.jar:?]
        at org.bukkit.craftbukkit.v1_18_R2.CraftServer.loadPlugins(CraftServer.java:405) ~[craftbukkit-1.18.2-R0.1-SNAPSHOT.jar:3491-Bukkit-95d233d]
        at net.minecraft.server.dedicated.DedicatedServer.e(DedicatedServer.java:226) ~[craftbukkit-1.18.2-R0.1-SNAPSHOT.jar:3491-Bukkit-95d233d]
        at net.minecraft.server.MinecraftServer.w(MinecraftServer.java:986) ~[craftbukkit-1.18.2-R0.1-SNAPSHOT.jar:3491-Bukkit-95d233d]
        at net.minecraft.server.MinecraftServer.lambda$0(MinecraftServer.java:296) ~[craftbukkit-1.18.2-R0.1-SNAPSHOT.jar:3491-Bukkit-95d233d]
        at java.lang.Thread.run(Thread.java:833) [?:?]
Caused by: java.lang.NoClassDefFoundError: net/md_5/bungee/api/ChatColor
        at net.TheDgtl.Stargate.Stargate.<clinit>(Stargate.java:121) ~[?:?]
        at java.lang.Class.forName0(Native Method) ~[?:?]
        at java.lang.Class.forName(Class.java:467) ~[?:?]
        at org.bukkit.plugin.java.PluginClassLoader.<init>(PluginClassLoader.java:67) ~[bukkit-1.18.2-R0.1-SNAPSHOT.jar:?]
        at org.bukkit.plugin.java.JavaPluginLoader.loadPlugin(JavaPluginLoader.java:143) ~[bukkit-1.18.2-R0.1-SNAPSHOT.jar:?]
        ... 7 more
Caused by: java.lang.ClassNotFoundException: net.md_5.bungee.api.ChatColor
        at org.bukkit.plugin.java.PluginClassLoader.loadClass0(PluginClassLoader.java:147) ~[bukkit-1.18.2-R0.1-SNAPSHOT.jar:?]
        at org.bukkit.plugin.java.PluginClassLoader.loadClass(PluginClassLoader.java:99) ~[bukkit-1.18.2-R0.1-SNAPSHOT.jar:?]
        at java.lang.ClassLoader.loadClass(ClassLoader.java:520) ~[?:?]
        at net.TheDgtl.Stargate.Stargate.<clinit>(Stargate.java:121) ~[?:?]
        at java.lang.Class.forName0(Native Method) ~[?:?]
        at java.lang.Class.forName(Class.java:467) ~[?:?]
        at org.bukkit.plugin.java.PluginClassLoader.<init>(PluginClassLoader.java:67) ~[bukkit-1.18.2-R0.1-SNAPSHOT.jar:?]
        at org.bukkit.plugin.java.JavaPluginLoader.loadPlugin(JavaPluginLoader.java:143) ~[bukkit-1.18.2-R0.1-SNAPSHOT.jar:?]
        ... 7 more