已回复 神奇的报错

fangcheng422

初来乍到
2020-04-06
0
0
0
勋章
0
QQ
1239060899
类型:反馈
插件版本号:最新版
服务端核心:spigot
服务端版本:1.12.2
问题:启动时报错
错误触发方式:启动服务器时

[15:57:14] [Server thread/INFO] [cn.inrhor.imipet.boot.PluginBoot]: [imiPet] Enabling imiPet v4.1.7
[15:57:14] [Server thread/ERROR] [cn.inrhor.imipet.boot.PluginBoot]: [imiPet] Error in replace System Logger
java.lang.IllegalArgumentException: Can not set org.bukkit.plugin.PluginLogger field org.bukkit.plugin.java.JavaPlugin.logger to cn.inrhor.imipet.ImiPet
at sun.reflect.UnsafeFieldAccessorImpl.throwSetIllegalArgumentException(Unknown Source) ~[?:1.8.0_261]
at sun.reflect.UnsafeFieldAccessorImpl.throwSetIllegalArgumentException(Unknown Source) ~[?:1.8.0_261]
at sun.reflect.UnsafeFieldAccessorImpl.ensureObj(Unknown Source) ~[?:1.8.0_261]
at sun.reflect.UnsafeObjectFieldAccessorImpl.set(Unknown Source) ~[?:1.8.0_261]
at java.lang.reflect.Field.set(Unknown Source) ~[?:1.8.0_261]
at cn.mcres.imiPet.build.utils.LogUtil.load(LogUtil.java:43) ~[?:?]
at cn.inrhor.imipet.PluginLoader.init(PluginLoader.kt:81) ~[?:?]
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) ~[?:1.8.0_261]
at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source) ~[?:1.8.0_261]
at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source) ~[?:1.8.0_261]
at java.lang.reflect.Method.invoke(Unknown Source) ~[?:1.8.0_261]
at io.izzel.taboolib.util.Reflection.invokeMethod(Reflection.java:160) ~[?:?]
at io.izzel.taboolib.module.inject.TInjectCreator.eval(TInjectCreator.java:75) ~[?:?]
at io.izzel.taboolib.module.inject.TInjectCreator.postLoad(TInjectCreator.java:37) ~[?:?]
at io.izzel.taboolib.TabooLibLoader.lambda$postLoadClass$4(TabooLibLoader.java:145) ~[?:?]
at java.util.ArrayList.forEach(Unknown Source) ~[?:1.8.0_261]
at io.izzel.taboolib.TabooLibLoader.postLoadClass(TabooLibLoader.java:142) ~[?:?]
at io.izzel.taboolib.PluginLoader$1.onStarting(PluginLoader.java:64) ~[?:?]
at io.izzel.taboolib.PluginLoader.lambda$start$2(PluginLoader.java:143) ~[?:?]
at java.util.ArrayList.forEach(Unknown Source) [?:1.8.0_261]
at io.izzel.taboolib.PluginLoader.start(PluginLoader.java:143) [TabooLib.jar:?]
at cn.inrhor.imipet.boot.PluginBase.onEnable(PluginBase.java:58) [imiPet-4.1.8-fix1.jar:?]
at org.bukkit.plugin.java.JavaPlugin.setEnabled(JavaPlugin.java:264) [JavaPlugin.class:git-CatServer-1.12.2-2a9163f]
at org.bukkit.plugin.java.JavaPluginLoader.enablePlugin(JavaPluginLoader.java:328) [JavaPluginLoader.class:git-CatServer-1.12.2-2a9163f]
at org.bukkit.plugin.SimplePluginManager.enablePlugin(SimplePluginManager.java:405) [SimplePluginManager.class:git-CatServer-1.12.2-2a9163f]
at org.bukkit.craftbukkit.v1_12_R1.CraftServer.enablePlugin(CraftServer.java:437) [CraftServer.class:git-CatServer-1.12.2-2a9163f]
at org.bukkit.craftbukkit.v1_12_R1.CraftServer.enablePlugins(CraftServer.java:385) [CraftServer.class:git-CatServer-1.12.2-2a9163f]
at net.minecraft.server.MinecraftServer.func_71247_a(MinecraftServer.java:384) [MinecraftServer.class:?]
at net.minecraft.server.dedicated.DedicatedServer.func_71197_b(DedicatedServer.java:327) [nz.class:?]
at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:591) [MinecraftServer.class:?]
at java.lang.Thread.run(Unknown Source) [?:1.8.0_261]
[15:57:14] [Server thread/INFO] []: _ _ _______ _
[15:57:14] [Server thread/INFO] []: (_) (_) |_ __ \ / |_
[15:57:14] [Server thread/INFO] []: __ _ .--..--. __ | |__) |.---.`| |-'
[15:57:14] [Server thread/INFO] []: [ | [ `.-. .-. | [ | | ___// /__\\| |
[15:57:14] [Server thread/INFO] []: | | | | | | | | | | _| |_ | \__.,| |,
[15:57:14] [Server thread/INFO] []: [___][___||__||__][___]|_____| '.__.'\__/
[15:57:14] [Server thread/INFO] []: [ i ] ┝ 正在加载插件 imiPet
[15:57:14] [Server thread/INFO] []: [ i ] ┝ 当前插件版本 4.1.7
[15:57:14] [Server thread/INFO] []: [ i ] ┝ 选择语言文本 zh_CN
[15:57:14] [Server thread/INFO] []: [ i ] ┝ 数据存储方式 YAML
[15:57:14] [Server thread/INFO] []: [ i ] ┝ 检查软依赖
[15:57:14] [Server thread/INFO] []: [ i ] ┝ PlaceholderAPI 已启用
[15:57:14] [Server thread/INFO] []: [ i ] ┝ Vault 已启用
[15:57:14] [Server thread/INFO] []: [ i ] ┝ HolographicDisplays 已启用
[15:57:14] [Server thread/INFO] []: [ i ] ┝ TrHologram 已启用
[15:57:14] [Server thread/INFO] []: [ i ] ┝ CMI 未启用
[15:57:14] [Server thread/INFO] []: [ i ] ┝ AttributePlus 已启用
[15:57:14] [Server thread/INFO] []: [ i ] ┝ MythicMobs 已启用
[15:57:14] [Server thread/INFO] []: [ i ] ┝ ModelEngine 未启用
[15:57:14] [Server thread/INFO] []: [ i ] ┝ VexView 已启用
 
最后修改:

inrhor

正式成员
首席执行官
2019-07-24
16
27
13
勋章
0
我寻思,这不是CatServer吗,为什么写spigot
 

inrhor

正式成员
首席执行官
2019-07-24
16
27
13
勋章
0
CatServer本身就是CatServer ,无论伪装
抱歉,imiPet不兼容CatServer
 

fangcheng422

初来乍到
2020-04-06
0
0
0
勋章
0
QQ
1239060899
CatServer本身就是CatServer ,无论伪装
抱歉,imiPet不兼容CatServer
没事,本来也就是抱着试试的心理,但用这种方法除了会显示这个消息之外,貌似可以在CatServer上正常使用(至少我用到现在没啥问题,可能我还没碰到)