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

[email protected] [email protected] 启动报错:Failed to enable 'MCL Addon' because dependencies not enabled: 'Soyuz' #6

Open
yuanbolin opened this issue Mar 4, 2023 · 1 comment

Comments

@yuanbolin
Copy link

2023-03-04 12:15:13 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(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: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(Unknown Source)
at java.base/java.lang.ClassLoader.loadClass(Unknown Source)
at java.base/java.lang.ClassLoader.loadClass(Unknown Source)
at net.mamoe.mirai.console.internal.plugin.JvmPluginClassLoaderN.loadClass(JvmPluginClassLoader.kt:440)
... 35 more

2023-03-04 12:15:13 E/JvmPluginLoader: Failed to enable 'MCL Addon' because dependencies not enabled: 'Soyuz'

@Lssg97
Copy link

Lssg97 commented Aug 26, 2023

遇到了一样的问题,但是当我安装上net.mamoe:mirai-login-solver-selenium后问题就消失了,我没有理解二者之间的关联。

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