In my project I use slf4j,
The project includes one library that uses org.apache.logging.log4j:log4j-api:2.14.0
Therefore, the library gets its logger via org.apache.logging.log4j.LogManager.getLogger(abc.class)
I include log4j-to-slf4j-2.x
in my project. However, looking at the contents of log4j-to-slf4j-2.x shows no implementation for that class.
Naturally my project dies at runtime saying with NoClassDefFound org/apache/logging/log4j/LogManager
What am I missing?
THIS IS NOT A DUPLICATE OF Is there an adapter for log4j2 to work over slf4j? because I have a specific problem that requires a different solution than the one presented in the linked question. This question needs to be addressed separately. Please stop with the nonsense closing if you don't understand what is going on!