Issue
After the version bump to log4j 2.17.0 this exception was raised during the unit tests:
java.lang.ClassNotFoundException: org.apache.logging.log4j.core.util.SetUtils
How to work around this problem?
Solution
After some trial and error I found here that upgrading to log4j 2.17.0 implies a new dependency log4j-web
<!-- https://mvnrepository.com/artifact/org.apache.logging.log4j/log4j-web -->
<dependency>
<groupId>org.apache.logging.log4j</groupId>
<artifactId>log4j-web</artifactId>
<version>2.17.0</version>
</dependency>
Answered By - freedev
0 comments:
Post a Comment
Note: Only a member of this blog may post a comment.