发送截图命令瞬间报错,这是怎么回事?
mirai-core版本2.13.2,seleium前置也是最新的
浏览器设置的edge
日志如下
2023-01-31 14:51:05 V/Bot.1705609074: [没名字的群就是好群(1061257810)] (2098581065) -> /截图 baidu.com
2023-01-31 14:51:05 I/stdout: RobotConfig.enableRobot = true
2023-01-31 14:51:05 I/stdout: 14:51:05.095 [DefaultDispatcher-worker-9] DEBUG org.ktorm.database - SQL: INSERT INTO wordcloud (sender_id, group_id, content, "time") VALUES (?, ?, ?, ?)
2023-01-31 14:51:05 I/stdout: 14:51:05.097 [DefaultDispatcher-worker-9] DEBUG org.ktorm.database - Parameters: [2098581065(bigint), 1061257810(bigint), /��ͼ baidu.com(text), 2023-01-31(date)]
2023-01-31 14:51:05 I/stdout: 14:51:05.115 [DefaultDispatcher-worker-9] DEBUG org.ktorm.database - Effects: 1
2023-01-31 14:51:05 V/Bot.1705609074: Group(1061257810) <- 正在截图。。。请稍等
2023-01-31 14:51:05 W/stderr: Exception in thread "Thread-11527" java.lang.LinkageError: loader constraint violation: when resolving method "xyz.cssxsh.selenium.SeleniumToolKt.RemoteWebDriver(Lxyz/cssxsh/selenium/RemoteWebDriverConfig;)Lorg/openqa/selenium/remote/RemoteWebDriver;" the class loader 'imagepluginv0.0.3.jar' @7fedb795 (instance of net.mamoe.mirai.console.internal.plugin.JvmPluginClassLoaderN, child of 'global-shared' @52b3bf03 net.mamoe.mirai.console.internal.plugin.DynLibClassLoader) of the current class, xyz/cssxsh/mirai/plugin/MiraiSeleniumPlugin, and the class loader 'mirai-selenium-plugin-2.2.5.mirai2.jar' @19fd43da (instance of net.mamoe.mirai.console.internal.plugin.JvmPluginClassLoaderN, child of 'global-shared' @52b3bf03 net.mamoe.mirai.console.internal.plugin.DynLibClassLoader) for the method's defining class, xyz/cssxsh/selenium/SeleniumToolKt, have different Class objects for the type xyz/cssxsh/selenium/RemoteWebDriverConfig used in the signature
2023-01-31 14:51:05 W/stderr: at imagepluginv0.0.3.jar//xyz.cssxsh.mirai.plugin.MiraiSeleniumPlugin.driver(MiraiSeleniumPlugin.kt:57)
2023-01-31 14:51:05 W/stderr: at imagepluginv0.0.3.jar//org.Command.PhantomTools.lambda$onCommand$0(PhantomTools.java:37)
2023-01-31 14:51:05 W/stderr: at java.base/java.lang.Thread.run(Thread.java:834)