Fork me on GitHub
#tools-deps
<
2022-07-21
>
pieterbreed10:07:29

In my project I'm getting this warning:

SLF4J: Class path contains multiple SLF4J bindings.
SLF4J: Found binding in [jar:file:/home/pieter/.m2/repository/com/fzakaria/slf4j-timbre/0.3.20/slf4j-timbre-0.3.20.jar!/org/slf4j/impl/StaticLoggerBinder.class]
SLF4J: Found binding in [jar:file:/home/pieter/.m2/repository/org/slf4j/slf4j-simple/1.7.29/slf4j-simple-1.7.29.jar!/org/slf4j/impl/StaticLoggerBinder.class]
SLF4J: See  for an explanation.
From my understanding; the fix is to find the specific dependency that includes a specific jar and exclude it. In this case if I could somehow exclude slf4j-simple...jar from the classpath that would solve the issue. When I run clj -Stree I don't see an entry for slf4j-simple. What is the recommended way for tracking this down and fixing?

p-himik10:07:35

With -Stree, do you specify the same exact aliases as you do when you get the warning?

pieterbreed10:07:18

hmmmm :thinking_face: let me see

pieterbreed10:07:14

this is it, thank you thanks3

👍 1