请问大大这种报错是什么原因引起的捏:
2022-06-17 16:10:13 I/Custom Reply: HRS-AutoReply-Plugin-loaded
2022-06-17 16:10:13 E/Custom Reply: java.lang.NoClassDefFoundError: io/github/kloping/initialize/FileInitializeValue
java.lang.NoClassDefFoundError: io/github/kloping/initialize/FileInitializeValue
at AutoReply-v.0.5.2.jar//com.github.kloping.Conf.getInstance(Conf.java:37)
at AutoReply-v.0.5.2.jar//com.github.kloping.Resource.<clinit>(Resource.java:31)
at AutoReply-v.0.5.2.jar//com.github.kloping.Plugin0AutoReply.onEnable(Plugin0AutoReply.java:37)
at net.mamoe.mirai.console.internal.plugin.JvmPluginInternal.internalOnEnable$mirai_console(JvmPluginInternal.kt:119)
at net.mamoe.mirai.console.internal.plugin.BuiltInJvmPluginLoaderImpl.enable(BuiltInJvmPluginLoaderImpl.kt:262)
at net.mamoe.mirai.console.internal.plugin.BuiltInJvmPluginLoaderImpl.enable(BuiltInJvmPluginLoaderImpl.kt:34)
at net.mamoe.mirai.console.plugin.jvm.JvmPluginLoader$BuiltIn.enable(JvmPluginLoader.kt)
at net.mamoe.mirai.console.plugin.jvm.JvmPluginLoader$BuiltIn.enable(JvmPluginLoader.kt:50)
at net.mamoe.mirai.console.plugin.PluginManager.enablePlugin(PluginManager.kt:173)
at net.mamoe.mirai.console.internal.plugin.PluginManagerImpl.enableAllLoadedPlugins$mirai_console(PluginManagerImpl.kt:183)
at net.mamoe.mirai.console.internal.MiraiConsoleImplementationBridge.doStart$mirai_console(MiraiConsoleImplementationBridge.kt:231)
at net.mamoe.mirai.console.MiraiConsoleImplementation$Companion.start(MiraiConsoleImplementation.kt:444)
at net.mamoe.mirai.console.terminal.MiraiConsoleTerminalLoader.startAsDaemon(MiraiConsoleTerminalLoader.kt:159)
at net.mamoe.mirai.console.terminal.MiraiConsoleTerminalLoader.startAsDaemon$default(MiraiConsoleTerminalLoader.kt:158)
at net.mamoe.mirai.console.terminal.MiraiConsoleTerminalLoader.main(MiraiConsoleTerminalLoader.kt:46)
at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
at java.base/java.lang.reflect.Method.invoke(Unknown Source)
at org.itxtech.mcl.Utility.bootJars(Utility.java:89)
at org.itxtech.mcl.Utility.bootJars(Utility.java:79)
at org.itxtech.mcl.Utility.bootMirai(Utility.java:101)
at org.itxtech.mcl.module.builtin.Boot.boot(Boot.java:109)
at org.itxtech.mcl.module.ModuleManager.phaseBoot(ModuleManager.java:148)
at org.itxtech.mcl.Loader.lambda$start$4(Loader.java:189)
at org.itxtech.mcl.Loader.tryCatching(Loader.java:146)
at org.itxtech.mcl.Loader.start(Loader.java:189)
at org.itxtech.mcl.Loader.main(Loader.java:79)
Caused by: java.lang.ClassNotFoundException: io.github.kloping.initialize.FileInitializeValue
at java.base/jdk.internal.loader.BuiltinClassLoader.loadClass(Unknown Source)
at java.base/jdk.internal.loader.ClassLoaders$AppClassLoader.loadClass(Unknown Source)
at java.base/java.lang.ClassLoader.loadClass(Unknown Source)
at net.mamoe.mirai.console.internal.plugin.JvmPluginClassLoaderN.loadClass(JvmPluginClassLoader.kt:347)
... 28 more
Angrybird1997 发布的帖子
-
RE: Console 自动定义回复插件
-
RE: DrawMeme - 基于Skiko的奇怪的图片生成器
@Angrybird1997 我又研究了一下,可能是因为docker版ubuntu系统太过于精简了,很多功能都没有,我安装了lsb-core以及libgl1-mesa-glx之后可以正常使用了,并不是因为库文件的问题
-
RE: DrawMeme - 基于Skiko的奇怪的图片生成器
@Angrybird1997 我尝试用了1.0.3版本的Skiko,启动console时就没有报错了,但是当用#ph命令的时候DrawMeme还会报错。仍然是找不到库文件。
2022-06-17 13:58:30 E/DrawMeme: Exception in coroutine Plugin org.laolittle.plugin.draw.DrawMeme of DrawMeme
java.lang.UnsatisfiedLinkError: /root/.skiko/a635025422b5188bfbbe2dfb73a4c256a657384a50157ef78b3e54eb527e6c4e/libskiko-linux-x64.so: libGL.so.1: cannot open shared object file: No such file or directory然后俺直接去他说的地址去找,看看有没有库文件,结果是有的:
root@Ubuntu:/BOT/Mirai# cd /root/.skiko/a635025422b5188bfbbe2dfb73a4c256a657384a50157ef78b3e54eb527e6c4e/
root@Ubuntu:~/.skiko/a635025422b5188bfbbe2dfb73a4c256a657384a50157ef78b3e54eb527e6c4e# ls
libskiko-linux-x64.so呜呜呜,我也不知道该咋办了,跪求大大指点
-
RE: DrawMeme - 基于Skiko的奇怪的图片生成器
请问大大,这个报错是为什么捏。
目前用的是docker虚拟化的ubuntu,架构是x64。
不知道是不是我哪里搞错了: