Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

运行mcl时报错 #179

Open
zhongwen-4 opened this issue Jul 3, 2023 · 1 comment
Open

运行mcl时报错 #179

zhongwen-4 opened this issue Jul 3, 2023 · 1 comment

Comments

@zhongwen-4
Copy link

2023-07-03 11:13:47 E/Soyuz: java.lang.NoClassDefFoundError: io/netty/handler/codec/http/HttpServerCodec
java.lang.NoClassDefFoundError: io/netty/handler/codec/http/HttpServerCodec
at soyuz-1.0.0-all.jar//io.ktor.server.netty.NettyApplicationEngine$Configuration$httpServerCodec$1.(NettyApplicationEngine.kt)
at soyuz-1.0.0-all.jar//io.ktor.server.netty.NettyApplicationEngine$Configuration$httpServerCodec$1.(NettyApplicationEngine.kt)
at soyuz-1.0.0-all.jar//io.ktor.server.netty.NettyApplicationEngine$Configuration.(NettyApplicationEngine.kt:79)
at soyuz-1.0.0-all.jar//io.ktor.server.netty.NettyApplicationEngine.(NettyApplicationEngine.kt:82)
at soyuz-1.0.0-all.jar//io.ktor.server.netty.Netty.create(Embedded.kt:18)
at soyuz-1.0.0-all.jar//io.ktor.server.netty.Netty.create(Embedded.kt:13)
at soyuz-1.0.0-all.jar//io.ktor.server.engine.EmbeddedServerKt.embeddedServer(EmbeddedServer.kt:79)
at soyuz-1.0.0-all.jar//io.ktor.server.engine.EmbeddedServerKt.embeddedServer(EmbeddedServer.kt:68)
at soyuz-1.0.0-all.jar//io.ktor.server.engine.EmbeddedServerKt.embeddedServer$default(EmbeddedServer.kt:46)
at soyuz-1.0.0-all.jar//org.itxtech.soyuz.Soyuz.onEnable(main.kt:89)
at net.mamoe.mirai.console.internal.plugin.JvmPluginInternal.internalOnEnable$mirai_console(JvmPluginInternal.kt:232)
at net.mamoe.mirai.console.internal.plugin.BuiltInJvmPluginLoaderImpl.enable(BuiltInJvmPluginLoaderImpl.kt:305)
at net.mamoe.mirai.console.internal.plugin.BuiltInJvmPluginLoaderImpl.enable(BuiltInJvmPluginLoaderImpl.kt:35)
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:181)
at net.mamoe.mirai.console.internal.MiraiConsoleImplementationBridge.doStart$mirai_console(MiraiConsoleImplementationBridge.kt:347)
at net.mamoe.mirai.console.MiraiConsoleImplementation$Companion.start(MiraiConsoleImplementation.kt:496)
at net.mamoe.mirai.console.terminal.MiraiConsoleTerminalLoader.startAsDaemon(MiraiConsoleTerminalLoader.kt:177)
at net.mamoe.mirai.console.terminal.MiraiConsoleTerminalLoader.startAsDaemon$default(MiraiConsoleTerminalLoader.kt:176)
at net.mamoe.mirai.console.terminal.MiraiConsoleTerminalLoader.main(MiraiConsoleTerminalLoader.kt:54)
at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:77)
at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.base/java.lang.reflect.Method.invoke(Method.java:568)
at org.itxtech.mcl.Utility.bootJars(Utility.java:86)
at org.itxtech.mcl.Utility.bootJars(Utility.java:76)
at org.itxtech.mcl.Utility.bootMirai(Utility.java:98)
at org.itxtech.mcl.module.builtin.Boot.boot(Boot.java:113)
at org.itxtech.mcl.module.ModuleManager.phaseBoot(ModuleManager.java:123)
at org.itxtech.mcl.Loader.lambda$start$4(Loader.java:196)
at org.itxtech.mcl.Loader.tryCatching(Loader.java:151)
at org.itxtech.mcl.Loader.start(Loader.java:196)
at org.itxtech.mcl.Loader.main(Loader.java:84)
Caused by: java.lang.ClassNotFoundException: io.netty.handler.codec.http.HttpServerCodec
at java.base/java.net.URLClassLoader.findClass(URLClassLoader.java:445)
at java.base/java.lang.ClassLoader.loadClass(ClassLoader.java:587)
at java.base/java.lang.ClassLoader.loadClass(ClassLoader.java:520)
at net.mamoe.mirai.console.internal.plugin.JvmPluginClassLoaderN.loadClass(JvmPluginClassLoader.kt:440)
... 35 more

2023-07-03 11:13:47 E/JvmPluginLoader: Failed to enable 'MCL Addon' because dependencies not enabled: 'Soyuz'

@cssxsh
Copy link
Contributor

cssxsh commented Jul 11, 2023

soyuz-1.0.0-all.jar 不是必要的 插件,可以删掉

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants