MiraiForum

    • 注册
    • 登录
    • 搜索
    • 热门
    • 最新
    • 未解决
    • 标签
    • 群组
    • 友情链接

    W/stderr: ERROR StatusLogger Log4j2 could not find a logging implementation.

    使用交流
    1
    1
    178
    正在加载更多帖子
    • 从旧到新
    • 从新到旧
    • 最多赞同
    回复
    • 在新帖中回复
    登录后回复
    此主题已被删除。只有拥有主题管理权限的用户可以查看。
    • cssxsh
      cssxsh 最后由 编辑

      0000-00-00 00:00:00 W/stderr: ERROR StatusLogger Log4j2 could not find a logging implementation. Please add log4j-core to the classpath. Using SimpleLogger to log to the console...
      

      mirai-console 出现这个的解决方法

      在 plugin-shared-libraries/libraries.txt 中加入两行

      org.apache.logging.log4j:log4j-api:2.20.0
      org.apache.logging.log4j:log4j-to-slf4j:2.20.0
      
      1 条回复 最后回复 回复 引用 0
      • 1 / 1
      • First post
        Last post
      Powered by Mamoe Technologies & NodeBB | 友情链接 | 服务监控 | Contact