khjxiaogu / MiraiSongPlugin

用mirai机器人搜索音乐并以卡片的形式分享
GNU Affero General Public License v3.0
266 stars 29 forks source link

mirai2.0-RC无法使用 #16

Closed wqy0916 closed 3 years ago

wqy0916 commented 3 years ago

描述bug问题 在mirai2.0-RC版本上无法使用 如何重现 百分百 你希望的修复后结果 希望有空修复一下 截屏/报错信息 2021-01-13 08:21:40 I/main: Starting mirai-console... 2021-01-13 08:21:40 I/main: Backend: version 2.0-RC, built on 2021-01-12 19:08:10. 2021-01-13 08:21:40 I/main: Frontend Terminal: version 2.0-RC, provided by Mamoe Technologies 2021-01-13 08:21:40 I/plugin: Successfully loaded plugin 点歌插件 2021-01-13 08:21:40 I/main: Prepared built-in commands: autoLogin, help, login, permission, status, stop 2021-01-13 08:21:40 I/点歌插件: 当前配置项:宽域AMR:true AMR自动大小:false 2021-01-13 08:21:40 E/点歌插件: java.lang.NoSuchMethodError: 'void net.mamoe.mirai.event.Events.registerEvents(kotlinx.coroutines.CoroutineScope, net.mamoe.mirai.event.ListenerHost)' java.lang.NoSuchMethodError: 'void net.mamoe.mirai.event.Events.registerEvents(kotlinx.coroutines.CoroutineScope, net.mamoe.mirai.event.ListenerHost)' at com.khjxiaogu.MiraiSongPlugin.MiraiSongPlugin.onEnable(MiraiSongPlugin.java:248) at net.mamoe.mirai.console.internal.plugin.JvmPluginInternal.internalOnEnable$mirai_console(JvmPluginInternal.kt:113) at net.mamoe.mirai.console.internal.plugin.BuiltInJvmPluginLoaderImpl.enable(BuiltInJvmPluginLoaderImpl.kt:119) at net.mamoe.mirai.console.plugin.jvm.JvmPluginLoader$BuiltIn.enable(JvmPluginLoader.kt) at net.mamoe.mirai.console.plugin.jvm.JvmPluginLoader$BuiltIn.enable(JvmPluginLoader.kt:36) at net.mamoe.mirai.console.plugin.PluginManager.enablePlugin(PluginManager.kt:129) at net.mamoe.mirai.console.internal.plugin.PluginManagerImpl.enableAllLoadedPlugins$mirai_console(PluginManagerImpl.kt:172) at net.mamoe.mirai.console.internal.MiraiConsoleImplementationBridge.doStart$mirai_console(MiraiConsoleImplementationBridge.kt:204) at net.mamoe.mirai.console.MiraiConsoleImplementation$Companion.start(MiraiConsoleImplementation.kt:209) at net.mamoe.mirai.console.terminal.MiraiConsoleTerminalLoader.startAsDaemon(MiraiConsoleTerminalLoader.kt:153) at net.mamoe.mirai.console.terminal.MiraiConsoleTerminalLoader.startAsDaemon$default(MiraiConsoleTerminalLoader.kt:152) at net.mamoe.mirai.console.terminal.MiraiConsoleTerminalLoader.main(MiraiConsoleTerminalLoader.kt:48)

2021-01-13 08:21:40 I/main: 1 plugin(s) enabled. 2021-01-13 08:21:40 I/main: mirai-console started successfully.

image

CoderKuo commented 3 years ago

遇到了同样的报错,楼主解决了吗

Cherryluoying commented 3 years ago

2.0版本也是这个问题

khjxiaogu commented 3 years ago

已修复