能不能帮我看一下我这个报错,用不了,哎
2022-07-12 23:58:52 V/Bot.123456: 星星?(123456) -> 截图 https://b23.tv/E8NuAUc
2022-07-12 23:58:52 V/Bot.123456: Friend(123456) <- 正在截图。。。请稍等
2022-07-12 23:58:52 W/stderr: Exception in thread "Thread-25" java.lang.LinkageError: loader constraint violation: when resolving method 'org.openqa.selenium.remote.RemoteWebDriver xyz.cssxsh.selenium.SeleniumToolKt.RemoteWebDriver(xyz.cssxsh.selenium.RemoteWebDriverConfig)' the class loader 'imagepluginv0.0.3.jar' @1b76b60 of the current class, xyz/cssxsh/mirai/plugin/MiraiSeleniumPlugin, and the class loader 'mirai-selenium-plugin-2.2.0.mirai2.jar' @1953e3 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 (xyz.cssxsh.mirai.plugin.MiraiSeleniumPlugin is in unnamed module of loader 'imagepluginv0.0.3.jar' @1b76b60, parent loader net.mamoe.mirai.console.internal.plugin.DynLibClassLoader @100d047; xyz.cssxsh.selenium.SeleniumToolKt is in unnamed module of loader 'mirai-selenium-plugin-2.2.0.mirai2.jar' @1953e3, parent loader net.mamoe.mirai.console.internal.plugin.DynLibClassLoader @100d047)
2022-07-12 23:58:52 W/stderr: at imagepluginv0.0.3.jar//xyz.cssxsh.mirai.plugin.MiraiSeleniumPlugin.driver(MiraiSeleniumPlugin.kt:57)
2022-07-12 23:58:52 W/stderr: at imagepluginv0.0.3.jar//org.Command.PhantomTools.lambda$onCommand$0(PhantomTools.java:37)
2022-07-12 23:58:52 W/stderr: at java.base/java.lang.Thread.run(Unknown Source)
hhikk5558 发布的最佳帖子
-
RE: 一款简单网页截图插件