MiraiForum

    • Register
    • Login
    • Search
    • Popular
    • Recent
    • Unsolved
    • Tags
    • Groups
    • 友情链接

    mirai-slf4j-bridge 插件在 mirai 2.12.0 下失效 解决方案

    技术交流板块
    3
    6
    648
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • cssxsh
      cssxsh last edited by

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

      org.slf4j:slf4j-api:1.7.36
      net.mamoe:mirai-slf4j-bridge:1.2.0
      
      1 Reply Last reply Reply Quote 0
      • tsudzuki
        tsudzuki 摸鱼 last edited by

        一直没搞懂这个共享库有什么用(

        cssxsh 1 Reply Last reply Reply Quote 0
        • cssxsh
          cssxsh @tsudzuki last edited by

          @tsudzuki
          放到这文件夹的jar或者写在libraries.txt中的依赖,会添加到所有插件依赖列表里

          1 Reply Last reply Reply Quote 0
          • tsudzuki
            tsudzuki 摸鱼 last edited by

            这样(不得少于五个字)

            1 Reply Last reply Reply Quote 0
            • Referenced by  cssxsh cssxsh 
            • cssxsh
              cssxsh last edited by

              org.apache.logging.log4j:log4j-to-slf4j:2.18.0

              log4j 的报错可以在加上这个

              1 Reply Last reply Reply Quote 0
              • Referenced by  cssxsh cssxsh 
              • Referenced by  cssxsh cssxsh 
              • ConstantineQAQ
                ConstantineQAQ last edited by

                This post is deleted!
                1 Reply Last reply Reply Quote 0
                • Referenced by  S shido2333 
                • 1 / 1
                • First post
                  Last post
                Powered by Mamoe Technologies & NodeBB | 友情链接 | 服务监控 | Contact