0

I have a spring boot project, imported in IntelliJ CE. On running it I get conflicting bindings for SLF4J.

One binding is from maven repository while another one is inside installation directory of Intellij CE.

There is no SLF4J explicitly configured in pom.

How can I exclude one of them?

Mandroid
  • 6,200
  • 12
  • 64
  • 134

1 Answers1

0

The error should contain the jars where it was found. It may come from one of your dependencies transitively. Check this thread.

The jar could also be picked up from _JAVA_TOOLS environment variable or java.ext.dirs property.

Andrey
  • 15,144
  • 25
  • 91
  • 187
  • I can see conflicting bindings in error message. But SLF4J is not configured in my project pom, meaning it is coming transitively. So I am not sure how to exclude one of the conflicting binding. – Mandroid May 15 '20 at 17:31