很奇怪的问题,我本地可以跑起来,centos就跑不起来,openjdk 1.8
我本地是oracle jdk1.8,跟这个好像也没关系,我是直接从服务器复制plugins下来的
CatServer-1.16.5-da9654d4-server
服务器报错:
[18:11:02] [Server thread/INFO] [io.lumine.mythic.lib.MythicLib]: [MythicLib] Enabling MythicLib v1.5
[18:11:05] [Server thread/INFO] [io.lumine.mythic.lib.MythicLib]: [MythicLib] Hooked onto CMI
[18:11:05] [Server thread/INFO] [io.lumine.mythic.lib.MythicLib]: [MythicLib] Hooked onto Citizens
[18:11:05] [Server thread/INFO] [io.lumine.mythic.lib.MythicLib]: [MythicLib] Hooked onto ProtocolLib
[18:11:05] [Server thread/WARN] [io.lumine.mythic.lib.MythicLib]: [MythicLib] Loaded class me.clip.placeholderapi.expansion.PlaceholderExpansion from PlaceholderAPI v2.11.2 which is not a depend, softdepend or loadbefore of this plugin.
[18:11:05] [Server thread/INFO] [me.clip.placeholderapi.PlaceholderAPIPlugin]: [PlaceholderAPI] Successfully registered expansion: mythiclib [1.5]
[18:11:05] [Server thread/INFO] [io.lumine.mythic.lib.MythicLib]: [MythicLib] Hooked onto PlaceholderAPI
[18:11:05] [Server thread/ERROR] [Minecraft]: Error occurred while enabling MythicLib v1.5 (Is it up to date?)
java.lang.NoSuchMethodError: java.util.Objects.requireNonNullElseGet(Ljava/lang/Object;Ljava/util/function/Supplier;)Ljava/lang/Object;
at io.lumine.mythic.lib.glow.provided.MythicGlowModule.enable(MythicGlowModule.java:40) ~[?:?]
at io.lumine.mythic.lib.MythicLib.onEnable(MythicLib.java:218) ~[?:?]
at org.bukkit.plugin.java.JavaPlugin.setEnabled(JavaPlugin.java:263) ~[forge:?]
at org.bukkit.plugin.java.JavaPluginLoader.enablePlugin(JavaPluginLoader.java:351) ~[forge:?]
at org.bukkit.plugin.SimplePluginManager.enablePlugin(SimplePluginManager.java:483) ~[forge:?]
at org.bukkit.craftbukkit.v1_16_R3.CraftServer.enablePlugin(CraftServer.java:412) ~[forge:1.16.5-da9654d4]
at org.bukkit.craftbukkit.v1_16_R3.CraftServer.enablePlugins(CraftServer.java:323) ~[forge:1.16.5-da9654d4]
at net.minecraft.server.MinecraftServer.func_240787_a_(MinecraftServer.java:439) ~[?:?]
at net.minecraft.server.MinecraftServer.func_240800_l__(MinecraftServer.java:345) ~[?:?]
at net.minecraft.server.dedicated.DedicatedServer.func_71197_b(DedicatedServer.java:218) ~[?:?]
at net.minecraft.server.MinecraftServer.func_240802_v_(MinecraftServer.java:739) ~[?:?]
at net.minecraft.server.MinecraftServer.func_240783_a_(MinecraftServer.java:265) ~[?:?]
at java.lang.Thread.run(Thread.java:750) [?:1.8.0_352]
[18:11:05] [Server thread/INFO] [net.Zrips.CMILib.CMILib]: [CMILib] Enabling CMILib v1.2.4.1
[18:11:07] [Server thread/INFO] []: [0;36;22mServer version: v1_16_R3 - 1.16.5 - spigot[m
[18:11:09] [Server thread/INFO] []: CMI hooked.[m
[18:11:09] [Server thread/INFO] [me.clip.placeholderapi.PlaceholderAPIPlugin]: [PlaceholderAPI] Successfully registered expansion: cmil [1.2.4.1]
[18:11:09] [Server thread/INFO] []: PlaceholderAPI hooked.[m
[18:11:09] [Server thread/INFO] []: Updated (EN) language file. Took [0;33;22m121ms[m
[18:11:09] [Server thread/INFO] []: Updated (CN) language file. Took [0;33;22m44ms[m
[18:11:09] [Server thread/INFO] [fr.xephi.authme.AuthMe]: [AuthMe] Enabling AuthMe v5.6.0-beta2-b2453
[18:11:10] [Server thread/INFO] [fr.xephi.authme.AuthMe]: [AuthMe] SQLite Setup finished
[18:11:10] [Server thread/INFO] [fr.xephi.authme.AuthMe]: [AuthMe] Hooked into LuckPerms!
[18:11:10] [Server thread/INFO] [fr.xephi.authme.AuthMe]: [AuthMe] Hooked successfully into Multiverse-Core
[18:11:11] [Server thread/INFO] [fr.xephi.authme.AuthMe]: [AuthMe] AuthMe 5.6.0-beta2 build n.2453 successfully enabled!
[18:11:11] [Server thread/INFO] [net.Indyuce.mmoitems.MMOItems]: [MMOItems] Enabling MMOItems v6.9.1
[18:11:12] [Server thread/INFO] [net.Indyuce.mmoitems.MMOItems]: [MMOItems] Now using DefaultHook as RPG provider
[18:11:12] [Server thread/ERROR] [Minecraft]: Error occurred while enabling MMOItems v6.9.1 (Is it up to date?)
java.lang.NoSuchMethodError: java.lang.String.formatted([Ljava/lang/Object;)Ljava/lang/String;
at net.Indyuce.mmoitems.api.ItemSet.<init>(ItemSet.java:39) ~[?:?]
at net.Indyuce.mmoitems.manager.SetManager.reload(SetManager.java:29) ~[?:?]
at net.Indyuce.mmoitems.manager.SetManager.<init>(SetManager.java:17) ~[?:?]
at net.Indyuce.mmoitems.MMOItems.onEnable(MMOItems.java:164) ~[?:?]
at org.bukkit.plugin.java.JavaPlugin.setEnabled(JavaPlugin.java:263) ~[forge:?]
at org.bukkit.plugin.java.JavaPluginLoader.enablePlugin(JavaPluginLoader.java:351) ~[forge:?]
at org.bukkit.plugin.SimplePluginManager.enablePlugin(SimplePluginManager.java:483) ~[forge:?]
at org.bukkit.craftbukkit.v1_16_R3.CraftServer.enablePlugin(CraftServer.java:412) ~[forge:1.16.5-da9654d4]
at org.bukkit.craftbukkit.v1_16_R3.CraftServer.enablePlugins(CraftServer.java:323) ~[forge:1.16.5-da9654d4]
at net.minecraft.server.MinecraftServer.func_240787_a_(MinecraftServer.java:439) ~[?:?]
at net.minecraft.server.MinecraftServer.func_240800_l__(MinecraftServer.java:345) ~[?:?]
at net.minecraft.server.dedicated.DedicatedServer.func_71197_b(DedicatedServer.java:218) ~[?:?]
at net.minecraft.server.MinecraftServer.func_240802_v_(MinecraftServer.java:739) ~[?:?]
at net.minecraft.server.MinecraftServer.func_240783_a_(MinecraftServer.java:265) ~[?:?]
at java.lang.Thread.run(Thread.java:750) [?:1.8.0_352]
我本地是oracle jdk1.8,跟这个好像也没关系,我是直接从服务器复制plugins下来的
CatServer-1.16.5-da9654d4-server
服务器报错:
[18:11:02] [Server thread/INFO] [io.lumine.mythic.lib.MythicLib]: [MythicLib] Enabling MythicLib v1.5
[18:11:05] [Server thread/INFO] [io.lumine.mythic.lib.MythicLib]: [MythicLib] Hooked onto CMI
[18:11:05] [Server thread/INFO] [io.lumine.mythic.lib.MythicLib]: [MythicLib] Hooked onto Citizens
[18:11:05] [Server thread/INFO] [io.lumine.mythic.lib.MythicLib]: [MythicLib] Hooked onto ProtocolLib
[18:11:05] [Server thread/WARN] [io.lumine.mythic.lib.MythicLib]: [MythicLib] Loaded class me.clip.placeholderapi.expansion.PlaceholderExpansion from PlaceholderAPI v2.11.2 which is not a depend, softdepend or loadbefore of this plugin.
[18:11:05] [Server thread/INFO] [me.clip.placeholderapi.PlaceholderAPIPlugin]: [PlaceholderAPI] Successfully registered expansion: mythiclib [1.5]
[18:11:05] [Server thread/INFO] [io.lumine.mythic.lib.MythicLib]: [MythicLib] Hooked onto PlaceholderAPI
[18:11:05] [Server thread/ERROR] [Minecraft]: Error occurred while enabling MythicLib v1.5 (Is it up to date?)
java.lang.NoSuchMethodError: java.util.Objects.requireNonNullElseGet(Ljava/lang/Object;Ljava/util/function/Supplier;)Ljava/lang/Object;
at io.lumine.mythic.lib.glow.provided.MythicGlowModule.enable(MythicGlowModule.java:40) ~[?:?]
at io.lumine.mythic.lib.MythicLib.onEnable(MythicLib.java:218) ~[?:?]
at org.bukkit.plugin.java.JavaPlugin.setEnabled(JavaPlugin.java:263) ~[forge:?]
at org.bukkit.plugin.java.JavaPluginLoader.enablePlugin(JavaPluginLoader.java:351) ~[forge:?]
at org.bukkit.plugin.SimplePluginManager.enablePlugin(SimplePluginManager.java:483) ~[forge:?]
at org.bukkit.craftbukkit.v1_16_R3.CraftServer.enablePlugin(CraftServer.java:412) ~[forge:1.16.5-da9654d4]
at org.bukkit.craftbukkit.v1_16_R3.CraftServer.enablePlugins(CraftServer.java:323) ~[forge:1.16.5-da9654d4]
at net.minecraft.server.MinecraftServer.func_240787_a_(MinecraftServer.java:439) ~[?:?]
at net.minecraft.server.MinecraftServer.func_240800_l__(MinecraftServer.java:345) ~[?:?]
at net.minecraft.server.dedicated.DedicatedServer.func_71197_b(DedicatedServer.java:218) ~[?:?]
at net.minecraft.server.MinecraftServer.func_240802_v_(MinecraftServer.java:739) ~[?:?]
at net.minecraft.server.MinecraftServer.func_240783_a_(MinecraftServer.java:265) ~[?:?]
at java.lang.Thread.run(Thread.java:750) [?:1.8.0_352]
[18:11:05] [Server thread/INFO] [net.Zrips.CMILib.CMILib]: [CMILib] Enabling CMILib v1.2.4.1
[18:11:07] [Server thread/INFO] []: [0;36;22mServer version: v1_16_R3 - 1.16.5 - spigot[m
[18:11:09] [Server thread/INFO] []: CMI hooked.[m
[18:11:09] [Server thread/INFO] [me.clip.placeholderapi.PlaceholderAPIPlugin]: [PlaceholderAPI] Successfully registered expansion: cmil [1.2.4.1]
[18:11:09] [Server thread/INFO] []: PlaceholderAPI hooked.[m
[18:11:09] [Server thread/INFO] []: Updated (EN) language file. Took [0;33;22m121ms[m
[18:11:09] [Server thread/INFO] []: Updated (CN) language file. Took [0;33;22m44ms[m
[18:11:09] [Server thread/INFO] [fr.xephi.authme.AuthMe]: [AuthMe] Enabling AuthMe v5.6.0-beta2-b2453
[18:11:10] [Server thread/INFO] [fr.xephi.authme.AuthMe]: [AuthMe] SQLite Setup finished
[18:11:10] [Server thread/INFO] [fr.xephi.authme.AuthMe]: [AuthMe] Hooked into LuckPerms!
[18:11:10] [Server thread/INFO] [fr.xephi.authme.AuthMe]: [AuthMe] Hooked successfully into Multiverse-Core
[18:11:11] [Server thread/INFO] [fr.xephi.authme.AuthMe]: [AuthMe] AuthMe 5.6.0-beta2 build n.2453 successfully enabled!
[18:11:11] [Server thread/INFO] [net.Indyuce.mmoitems.MMOItems]: [MMOItems] Enabling MMOItems v6.9.1
[18:11:12] [Server thread/INFO] [net.Indyuce.mmoitems.MMOItems]: [MMOItems] Now using DefaultHook as RPG provider
[18:11:12] [Server thread/ERROR] [Minecraft]: Error occurred while enabling MMOItems v6.9.1 (Is it up to date?)
java.lang.NoSuchMethodError: java.lang.String.formatted([Ljava/lang/Object;)Ljava/lang/String;
at net.Indyuce.mmoitems.api.ItemSet.<init>(ItemSet.java:39) ~[?:?]
at net.Indyuce.mmoitems.manager.SetManager.reload(SetManager.java:29) ~[?:?]
at net.Indyuce.mmoitems.manager.SetManager.<init>(SetManager.java:17) ~[?:?]
at net.Indyuce.mmoitems.MMOItems.onEnable(MMOItems.java:164) ~[?:?]
at org.bukkit.plugin.java.JavaPlugin.setEnabled(JavaPlugin.java:263) ~[forge:?]
at org.bukkit.plugin.java.JavaPluginLoader.enablePlugin(JavaPluginLoader.java:351) ~[forge:?]
at org.bukkit.plugin.SimplePluginManager.enablePlugin(SimplePluginManager.java:483) ~[forge:?]
at org.bukkit.craftbukkit.v1_16_R3.CraftServer.enablePlugin(CraftServer.java:412) ~[forge:1.16.5-da9654d4]
at org.bukkit.craftbukkit.v1_16_R3.CraftServer.enablePlugins(CraftServer.java:323) ~[forge:1.16.5-da9654d4]
at net.minecraft.server.MinecraftServer.func_240787_a_(MinecraftServer.java:439) ~[?:?]
at net.minecraft.server.MinecraftServer.func_240800_l__(MinecraftServer.java:345) ~[?:?]
at net.minecraft.server.dedicated.DedicatedServer.func_71197_b(DedicatedServer.java:218) ~[?:?]
at net.minecraft.server.MinecraftServer.func_240802_v_(MinecraftServer.java:739) ~[?:?]
at net.minecraft.server.MinecraftServer.func_240783_a_(MinecraftServer.java:265) ~[?:?]
at java.lang.Thread.run(Thread.java:750) [?:1.8.0_352]