log4j:ERROR A “org.apache.log4j.ConsoleAppender” object is not assignable to a “org.apache.log4j.Appender” variable

后端 未结 2 2100
温柔的废话
温柔的废话 2021-02-13 01:05

I am making a web app using gradle. I used log4j in this app. When I build the project I am getting error...

  • log4j:ERROR A \"org.apache.log4j.ConsoleAppender\" obj
2条回答
  •  日久生厌
    2021-02-13 01:24

    Your classpath contains 2 copies of log4j library. Exclude one and try again.

提交回复
热议问题