@mrxiaom怎么检查呢?我在 mvnrepository.com 下载了库,但是出现以下报错
[23:27:23] [Craft Scheduler Thread - 0/INFO] [MiraiMC/]: 登录新的机器人账号: 3106695027, 协议: ANDROID_PHONE
[23:27:23] [Craft Scheduler Thread - 0/WARN] [MiraiMC/]: Plugin MiraiMC v1.5.2 generated an exception while executing task 83
java.lang.NoClassDefFoundError: Could not initialize class net.mamoe.mirai.internal.MiraiImpl
at java.lang.Class.forName0(Native Method) ~[?:?] {}
at java.lang.Class.forName(Class.java:466) ~[?:?] {}
at io.izzel.arclight.common.mod.util.remapper.generated.ArclightReflectionHandler_5.redirectClassForName(ArclightReflectionHandler.java:178) ~[arclight:arclight-1.16.5-1.0.21-12996b7] {}
at io.izzel.arclight.common.mod.util.remapper.generated.ArclightReflectionHandler_5.redirectClassForName(ArclightReflectionHandler.java:171) ~[arclight:arclight-1.16.5-1.0.21-12996b7] {}
at net.mamoe.mirai.FindMiraiInstanceKt.findMiraiInstance(findMiraiInstance.kt:18) ~[?:?] {re:classloading,re:classloading,re:classloading,re:classloading,re:classloading,re:classloading,re:classloading,re:classloading,re:classloading,re:classloading,re:classloading,re:classloading,re:classloading,re:classloading,re:classloading}
at net.mamoe.mirai._MiraiInstance.get(IMirai.kt:353) ~[?:?] {re:classloading,re:classloading,re:classloading,re:classloading,re:classloading,re:classloading,re:classloading,re:classloading,re:classloading,re:classloading,re:classloading,re:classloading,re:classloading,re:classloading,re:classloading}
at net.mamoe.mirai.Mirai.getInstance(IMirai.kt:43) ~[?:?] {re:classloading,re:classloading,re:classloading,re:classloading,re:classloading,re:classloading,re:classloading,re:classloading,re:classloading,re:classloading,re:classloading,re:classloading,re:classloading,re:classloading,re:classloading}
at net.mamoe.mirai.BotFactory$INSTANCE.newBot(BotFactory.kt:119) ~[?:?] {re:classloading,re:classloading,re:classloading,re:classloading,re:classloading,re:classloading,re:classloading,re:classloading,re:classloading,re:classloading,re:classloading,re:classloading,re:classloading,re:classloading,re:classloading}
at me.dreamvoid.miraimc.api.MiraiBot.privateBotLogin(MiraiBot.java:213) ~[?:?] {re:classloading,re:classloading,re:classloading,re:classloading,re:classloading,re:classloading,re:classloading,re:classloading,re:classloading,re:classloading,re:classloading,re:classloading,re:classloading,re:classloading,re:classloading,re:classloading,re:classloading,re:classloading,re:classloading}
at me.dreamvoid.miraimc.api.MiraiBot.doBotLogin(MiraiBot.java:94) ~[?:?] {re:classloading,re:classloading,re:classloading,re:classloading,re:classloading,re:classloading,re:classloading,re:classloading,re:classloading,re:classloading,re:classloading,re:classloading,re:classloading,re:classloading,re:classloading,re:classloading,re:classloading,re:classloading,re:classloading}
at me.dreamvoid.miraimc.bukkit.Commands$1.run(Commands.java:61) ~[?:?] {re:classloading,re:classloading,re:classloading,re:classloading,re:classloading,re:classloading,re:classloading,re:classloading,re:classloading,re:classloading,re:classloading,re:classloading,re:classloading}
at org.bukkit.craftbukkit.v1_16_R3.scheduler.CraftTask.run(CraftTask.java:81) ~[arclight:arclight-1.16.5-1.0.21-12996b7] {re:classloading}
at org.bukkit.craftbukkit.v1_16_R3.scheduler.CraftAsyncTask.run(CraftAsyncTask.java:54) [arclight:arclight-1.16.5-1.0.21-12996b7] {re:classloading}
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1130) [?:?] {}
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:630) [?:?] {}
at java.lang.Thread.run(Thread.java:831) [?:?] {}
Posts made by kuliangcha
-
RE: 新人求助
-
新人求助
在服务器用插件登录的时候出现以下报错(不知道为啥粘贴不了图片)
登录新的机器人账号: 3106695027, 协议: ANDROID_PHONE
[18:53:38] [Craft Scheduler Thread - 14/WARN] [MiraiMC/]: Plugin MiraiMC v1.5 generated an exception while executing task 70
java.lang.NoClassDefFoundError: Could not initialize class net.mamoe.mirai.internal.MiraiImpl
at java.lang.Class.forName0(Native Method) ~[?:?] {}
at java.lang.Class.forName(Class.java:466) ~[?:?] {}
at io.izzel.arclight.common.mod.util.remapper.generated.ArclightReflectionHandler_5.redirectClassForName(ArclightReflectionHandler.java:122) ~[arclight:arclight-1.16.5-1.0.21-SNAPSHOT-f7852ed] {}
at io.izzel.arclight.common.mod.util.remapper.generated.ArclightReflectionHandler_5.redirectClassForName(ArclightReflectionHandler.java:115) ~[arclight:arclight-1.16.5-1.0.21-SNAPSHOT-f7852ed] {}
at net.mamoe.mirai.FindMiraiInstanceKt.findMiraiInstance(findMiraiInstance.kt:18) ~[?:?] {re:classloading,re:classloading,re:classloading,re:classloading,re:classloading,re:classloading,re:classloading}
at net.mamoe.mirai._MiraiInstance.get(IMirai.kt:352) ~[?:?] {re:classloading,re:classloading,re:classloading,re:classloading,re:classloading,re:classloading,re:classloading}
at net.mamoe.mirai.Mirai.getInstance(IMirai.kt:43) ~[?:?] {re:classloading,re:classloading,re:classloading,re:classloading,re:classloading,re:classloading,re:classloading}
at net.mamoe.mirai.BotFactory$INSTANCE.newBot(BotFactory.kt:119) ~[?:?] {re:classloading,re:classloading,re:classloading,re:classloading,re:classloading,re:classloading,re:classloading}
at me.dreamvoid.miraimc.api.MiraiBot.privateBotLogin(MiraiBot.java:213) ~[?:?] {re:classloading,re:classloading,re:classloading,re:classloading,re:classloading,re:classloading,re:classloading}
at me.dreamvoid.miraimc.api.MiraiBot.doBotLogin(MiraiBot.java:94) ~[?:?] {re:classloading,re:classloading,re:classloading,re:classloading,re:classloading,re:classloading,re:classloading}
at me.dreamvoid.miraimc.bukkit.Commands$1.run(Commands.java:61) ~[?:?] {re:classloading,re:classloading,re:classloading,re:classloading,re:classloading,re:classloading,re:classloading}
at org.bukkit.craftbukkit.v1_16_R3.scheduler.CraftTask.run(CraftTask.java:81) ~[arclight:arclight-1.16.5-1.0.21-SNAPSHOT-f7852ed] {re:classloading}
at org.bukkit.craftbukkit.v1_16_R3.scheduler.CraftAsyncTask.run(CraftAsyncTask.java:54) [arclight:arclight-1.16.5-1.0.21-SNAPSHOT-f7852ed] {re:classloading}
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1130) [?:?] {}
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:630) [?:?] {}
at java.lang.Thread.run(Thread.java:831) [?:?] {}怎么办?