MiraiForum

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

    Solved 关于log4j-core的问题

    使用交流
    2
    4
    830
    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.
    • C
      CLanmao 摸鱼 last edited by CLanmao

      启动时,日志出现以下内容(白色报错)
      P.png

      ERROR StatusLogger Log4j2 could not find a logging implementation. Please add log4j-core to the classpath. Using SimpleLogger to log to the console...
      

      并且框架可以正常运行
      求助各位大佬,这种情况该如何解决

      C 1 Reply Last reply Reply Quote 0
      • C
        CLanmao 摸鱼 @CLanmao last edited by

        SLF4J: Failed to load class "org.slf4j.impl.StaticLoggerBinder".
        SLF4J: Defaulting to no-operation (NOP) logger implementation
        SLF4J: See http://www.slf4j.org/codes.html#StaticLoggerBinder for further details.
        ERROR StatusLogger Log4j2 could not find a logging implementation. Please add log4j-core to the classpath. Using SimpleLogger to log to the console...
        
        1 Reply Last reply Reply Quote 0
        • Topic has been marked as a question  C CLanmao 
        • Nambers
          Nambers 摸鱼 last edited by

          https://mirai.mamoe.net/topic/573/求助帖-如何解决mcl登录后classpath中丢失log4j-core的问题/2
          正常现象 忽略即可

          C 1 Reply Last reply Reply Quote 0
          • C
            CLanmao 摸鱼 @Nambers last edited by CLanmao

            @nambers 非常感谢
            我居然没翻到这篇

            1 Reply Last reply Reply Quote 0
            • Topic has been marked as solved  C CLanmao 
            • 1 / 1
            • First post
              Last post
            Powered by Mamoe Technologies & NodeBB | 友情链接 | 服务监控 | Contact