MiraiForum

    • Register
    • Login
    • Search
    • Popular
    • Recent
    • Unsolved
    • Tags
    • Groups
    • 友情链接
    1. Home
    2. cssxsh
    3. Posts
    • Profile
    • Following 0
    • Followers 129
    • Topics 61
    • Posts 2101
    • Best 158
    • Controversial 0
    • Groups 2

    Posts made by cssxsh

    • RE: 在对话框无论输入什么都报错 W/mirai-hibernate-plugin: Exception in Recorder kotlin.UninitializedPropertyAccessException: lateinit property factory has not been initialized

      @LightToDawn
      目前的解决方法是 使用 mirai.jar 打包版的插件代替 mirai2.jar

      posted in 使用交流
      cssxsh
      cssxsh
    • RE: 在对话框无论输入什么都报错 W/mirai-hibernate-plugin: Exception in Recorder kotlin.UninitializedPropertyAccessException: lateinit property factory has not been initialized

      @LightToDawn
      plugin-libraries\javax\persistence\javax.persistence-api\2.2\
      文件夹里应该有 jar 文件
      如果没有就是缺依赖
      有就是 插件冲突

      posted in 使用交流
      cssxsh
      cssxsh
    • RE: 在对话框无论输入什么都报错 W/mirai-hibernate-plugin: Exception in Recorder kotlin.UninitializedPropertyAccessException: lateinit property factory has not been initialized

      @LightToDawn
      并不是

      posted in 使用交流
      cssxsh
      cssxsh
    • RE: 在对话框无论输入什么都报错 W/mirai-hibernate-plugin: Exception in Recorder kotlin.UninitializedPropertyAccessException: lateinit property factory has not been initialized

      @LightToDawn
      你的可能是依赖下载不完全,或者存在插件冲突

      posted in 使用交流
      cssxsh
      cssxsh
    • RE: 在对话框无论输入什么都报错 W/mirai-hibernate-plugin: Exception in Recorder kotlin.UninitializedPropertyAccessException: lateinit property factory has not been initialized

      @2376801531
      我写代码的时候忘记处理多余的 file:/ 了 你可以
      更新 2.2.3 版本,我刚做了修复

      posted in 使用交流
      cssxsh
      cssxsh
    • RE: 在对话框无论输入什么都报错 W/mirai-hibernate-plugin: Exception in Recorder kotlin.UninitializedPropertyAccessException: lateinit property factory has not been initialized

      @2376801531
      data\xyz.cssxsh.mirai.plugin.mirai-hibernate-plugin\hibernate.properties

      修改第一行 的 hibernate.connection.url=jdbc:h2:file:/E...
      为 hibernate.connection.url=jdbc:h2:file:E...
      去掉 file:E 中间的 /

      posted in 使用交流
      cssxsh
      cssxsh
    • RE: Arknights Helper / 明日方舟 助手,更新订阅的微博号配置项

      @RaTaiHok
      https://github.com/cssxsh/arknights-helper/releases/tag/v1.4.1
      修复

      posted in 插件发布
      cssxsh
      cssxsh
    • RE: 写定时任务出现的一些问题()

      @藤原白叶
      你给 suspend 函数 套一层 launch 不就行了吗

      posted in 开发交流
      cssxsh
      cssxsh
    • RE: B站订阅插件,动态、视频、直播订阅 @全体成员

      @superen
      你可以试试 1.5.0 新版的订阅功能

      posted in 插件发布
      cssxsh
      cssxsh
    • RE: 部分用户私信bot无视指令

      @luckygbean
      得看指令解释器的处理方式

      私聊分好几种
      好友私聊
      群友临时私聊
      陌生人私聊

      posted in BUG反馈
      cssxsh
      cssxsh
    • RE: MCL Remote Debug, 在真实运行环境附加Debug

      或者你可以直接使用 idea 运行 mcl,
      30f5b77a-91fc-4983-90ab-1680102356b5-image.png

      posted in 开发交流
      cssxsh
      cssxsh
    • MCL Remote Debug, 在真实运行环境附加Debug

      2.11.0 之后 mirai 更新了类加载方式,并实现了类隔离
      gradle/maven 的 test 并不能很好的模拟 真实运行环境
      不如使用 JVM Remote Debug

      • 准备一份 mcl 作为正常运行环境,将编译好的插件放入
      • 然后 mcl 启动时添加 java 参数, 8089是端口,你可以改
        -Xdebug -Xrunjdwp,transport=dt_socket,server=y,suspend=y,address=8089
        编辑启动脚本,这里是 mcl.bat
      @echo off
      set JAVA_BINARY=java
      %JAVA_BINARY% -Xdebug -Xrunjdwp,transport=dt_socket,server=y,suspend=y,address=8089 -jar mcl.jar %*
      
      • mcl 启动之后会等待 Remote Debug 链接

      • 然后在 idea 里 添加 一个 Remote Debug ,端口是上面 的 8089, 启动测试,
        be9f775f-d57e-446d-8cd5-ef7697cd275b-image.png
        703c0d38-ab0d-4c6f-a4b0-b41317f245ee-image.png
        选择合适的 module classpath

      • 你就可以打断点查看正常运行环境下的运行状态了

      posted in 开发交流
      cssxsh
      cssxsh
    • RE: Arknights Helper / 明日方舟 助手,更新订阅的微博号配置项

      @rickyliyiqi
      其实不影响(你自己用浏览器打开一下链接就知道了),
      如果你觉得不好你可以手动改一下配置文件,

      posted in 插件发布
      cssxsh
      cssxsh
    • RE: Arknights Helper / 明日方舟 助手,更新订阅的微博号配置项

      @红要抓尾巴
      你可以尝试更换游戏资源链接
      https://github.com/cssxsh/arknights-helper/blob/dev/readme.md#source

      posted in 插件发布
      cssxsh
      cssxsh
    • RE: 更新后出现了这么多报错

      JCE cannot authenticate the provider BC
      你或许需要 OpenJdk

      posted in 使用交流
      cssxsh
      cssxsh
    • 1
    • 2
    • 73
    • 74
    • 75
    • 76
    • 77
    • 105
    • 106
    • 75 / 106