slf4j & log4j2 maven setup query

后端 未结 4 1719
梦谈多话
梦谈多话 2020-12-30 22:35

I am using log4j2 and slf4j in my project & using maven for the build. I am using the following pom file (releveant dependencies shown only) but I am getting the error

4条回答
  •  萌比男神i
    2020-12-30 23:30

    Apart from the log4j-slf4j-impl dependency, you also need the slf4j-ext dependency.

    See http://logging.apache.org/log4j/2.x/log4j-slf4j-impl/dependencies.html

提交回复
热议问题