MiraiForum

    • 注册
    • 登录
    • 搜索
    • 热门
    • 最新
    • 未解决
    • 标签
    • 群组
    • 友情链接
    1. 主页
    2. gatesx
    G
    • 资料
    • 关注 0
    • 粉丝 0
    • 主题 0
    • 帖子 3
    • 最佳 1
    • 有争议的 0
    • 群组 0

    gatesx

    @gatesx

    1
    声望
    1
    资料浏览
    3
    帖子
    0
    粉丝
    0
    关注
    注册时间 最后登录

    gatesx 取消关注 关注

    gatesx 发布的最佳帖子

    • RE: 一款简单网页截图插件

      加载没问题,权限给了发生报错
      环境:
      mirai version 1.2.2-60c67fb
      java 17
      windows sever 2019

      
      log:

      2022-03-20 03:06:33 I/main: mirai-console started successfully.
      2022-03-20 03:07:42 V/Bot.20428: [Mirai(6555)] 用Gsx(27262) -> 截图 https://baidu.com
      2022-03-20 03:07:42 V/Bot.2058: Group(655) <- 正在截图。。。请稍等
      2022-03-20 03:07:53 W/stderr: Exception in thread "Thread-17" java.lang.LinkageError: loader constraint violation: when resolving method 'org.openqa.selenium.remote.RemoteWebDriver xyz.cssxsh.mirai.plugin.MiraiSeleniumPlugin.driver(xyz.cssxsh.selenium.RemoteWebDriverConfig)' the class loader 'imageplugin-1.0-SNAPSHOT.mirai.jar' @15639440 of the current class, org/Command/PhantomTools, and the class loader 'mirai-selenium-plugin-2.0.7.mirai.jar' @733aa9d8 for the method's defining class, xyz/cssxsh/mirai/plugin/MiraiSeleniumPlugin, have different Class objects for the type xyz/cssxsh/selenium/RemoteWebDriverConfig used in the signature (org.Command.PhantomTools is in unnamed module of loader 'imageplugin-1.0-SNAPSHOT.mirai.jar' @15639440, parent loader net.mamoe.mirai.console.internal.plugin.DynLibClassLoader @28501a4b; xyz.cssxsh.mirai.plugin.MiraiSeleniumPlugin is in unnamed module of loader 'mirai-selenium-plugin-2.0.7.mirai.jar' @733aa9d8, parent loader net.mamoe.mirai.console.internal.plugin.DynLibClassLoader @28501a4b)
      
      2022-03-20 03:07:53 W/stderr: at imageplugin-1.0-SNAPSHOT.mirai.jar//org.Command.PhantomTools.lambda$onCommand$0(PhantomTools.java:37)
      
      2022-03-20 03:07:53 W/stderr: at java.base/java.lang.Thread.run(Thread.java:833)
      

      发布在 插件发布
      G
      gatesx

    gatesx 发布的最新帖子

    • RE: 一款简单网页截图插件

      @gatesx-0 问题是Mirai 2.11.0-M1有bug

      发布在 插件发布
      G
      gatesx
    • RE: 下载不了mcl.cmd

      可能是你的网络环境github拉不下来

      发布在 使用交流
      G
      gatesx
    • RE: 一款简单网页截图插件

      加载没问题,权限给了发生报错
      环境:
      mirai version 1.2.2-60c67fb
      java 17
      windows sever 2019

      
      log:

      2022-03-20 03:06:33 I/main: mirai-console started successfully.
      2022-03-20 03:07:42 V/Bot.20428: [Mirai(6555)] 用Gsx(27262) -> 截图 https://baidu.com
      2022-03-20 03:07:42 V/Bot.2058: Group(655) <- 正在截图。。。请稍等
      2022-03-20 03:07:53 W/stderr: Exception in thread "Thread-17" java.lang.LinkageError: loader constraint violation: when resolving method 'org.openqa.selenium.remote.RemoteWebDriver xyz.cssxsh.mirai.plugin.MiraiSeleniumPlugin.driver(xyz.cssxsh.selenium.RemoteWebDriverConfig)' the class loader 'imageplugin-1.0-SNAPSHOT.mirai.jar' @15639440 of the current class, org/Command/PhantomTools, and the class loader 'mirai-selenium-plugin-2.0.7.mirai.jar' @733aa9d8 for the method's defining class, xyz/cssxsh/mirai/plugin/MiraiSeleniumPlugin, have different Class objects for the type xyz/cssxsh/selenium/RemoteWebDriverConfig used in the signature (org.Command.PhantomTools is in unnamed module of loader 'imageplugin-1.0-SNAPSHOT.mirai.jar' @15639440, parent loader net.mamoe.mirai.console.internal.plugin.DynLibClassLoader @28501a4b; xyz.cssxsh.mirai.plugin.MiraiSeleniumPlugin is in unnamed module of loader 'mirai-selenium-plugin-2.0.7.mirai.jar' @733aa9d8, parent loader net.mamoe.mirai.console.internal.plugin.DynLibClassLoader @28501a4b)
      
      2022-03-20 03:07:53 W/stderr: at imageplugin-1.0-SNAPSHOT.mirai.jar//org.Command.PhantomTools.lambda$onCommand$0(PhantomTools.java:37)
      
      2022-03-20 03:07:53 W/stderr: at java.base/java.lang.Thread.run(Thread.java:833)
      

      发布在 插件发布
      G
      gatesx