plugin breaks with 1.12 due to the removal of configuration.file.FileConfiguration.load
johnfriedrich opened this issue ยท 7 comments
Do you happen to have a link explaining why this has happened? I can't seem to easily find it.
same issue here:
[01:35:42] [Server thread/INFO]: [SignShop] Enabling SignShop v2.11.1
[01:35:42] [Server thread/ERROR]: Error occurred while enabling SignShop v2.11.1 (Is it up to date?)
java.lang.NoSuchMethodError: org.bukkit.configuration.file.FileConfiguration.load(Ljava/io/InputStream;)V
at org.wargamer2010.signshop.configuration.configUtil.loadYMLFromJar(configUtil.java:197) ~[?:?]
at org.wargamer2010.signshop.configuration.configUtil.loadYMLFromJar(configUtil.java:188) ~[?:?]
at org.wargamer2010.signshop.configuration.SignShopConfig.initConfig(SignShopConfig.java:239) ~[?:?]
at org.wargamer2010.signshop.configuration.SignShopConfig.init(SignShopConfig.java:102) ~[?:?]
at org.wargamer2010.signshop.SignShop.onEnable(SignShop.java:99) ~[?:?]
at org.bukkit.plugin.java.JavaPlugin.setEnabled(JavaPlugin.java:264) ~[spigot-1.12.jar:git-Spigot-d5dfb24-ed8c725]
at org.bukkit.plugin.java.JavaPluginLoader.enablePlugin(JavaPluginLoader.java:337) [spigot-1.12.jar:git-Spigot-d5dfb24-ed8c725]
at org.bukkit.plugin.SimplePluginManager.enablePlugin(SimplePluginManager.java:402) [spigot-1.12.jar:git-Spigot-d5dfb24-ed8c725]
at org.bukkit.craftbukkit.v1_12_R1.CraftServer.enablePlugin(CraftServer.java:377) [spigot-1.12.jar:git-Spigot-d5dfb24-ed8c725]
at org.bukkit.craftbukkit.v1_12_R1.CraftServer.enablePlugins(CraftServer.java:327) [spigot-1.12.jar:git-Spigot-d5dfb24-ed8c725]
at net.minecraft.server.v1_12_R1.MinecraftServer.t(MinecraftServer.java:421) [spigot-1.12.jar:git-Spigot-d5dfb24-ed8c725]
at net.minecraft.server.v1_12_R1.MinecraftServer.l(MinecraftServer.java:382) [spigot-1.12.jar:git-Spigot-d5dfb24-ed8c725]
at net.minecraft.server.v1_12_R1.MinecraftServer.a(MinecraftServer.java:337) [spigot-1.12.jar:git-Spigot-d5dfb24-ed8c725]
at net.minecraft.server.v1_12_R1.DedicatedServer.init(DedicatedServer.java:272) [spigot-1.12.jar:git-Spigot-d5dfb24-ed8c725]
at net.minecraft.server.v1_12_R1.MinecraftServer.run(MinecraftServer.java:544) [spigot-1.12.jar:git-Spigot-d5dfb24-ed8c725]
at java.lang.Thread.run(Thread.java:748) [?:1.8.0_131]
Those guys in Spigotmc decided to remove some old API. I guess you probably just need to re-build it with the new bukkit API.
@wargamer seems like it works.
Should be fixed with this commit: 1502e58
Version 2.11.2 with that commit included will be available as soon as it's approved, please let me know if that indeed fixes this specific issue.