java. lang.NoSuchMethodError:org. apache. log4j. Logger
•
Java
We use ivy to manage multi - Project Java applications, and recently this error began to appear when we built What caused this?
Solution
By adding the following line to Ivy At the end of the dependency section in XML to solve this problem:
<dependencies> <exclude module="log4j-over-slf4j" /> </dependencies>
Why is this a problem?
>It looks like sjf4j has an incomplete implementation's log4j bridge > this URL explains it in more detail
The content of this article comes from the network collection of netizens. It is used as a learning reference. The copyright belongs to the original author.
THE END
二维码