28 Jul 2025

Intellij Idea Error in Maven - SLF4J: Class path contains multiple SLF4J bindings

When I was building a spring boot project using maven in IntelliJ Idea, I observed the below error. Even if it does not cause any issue in the build process, it is irritating.

 

SLF4J: Class path contains multiple SLF4J bindings. 

SLF4J: Found binding in [jar:file:[idea home path]/idea/plugins/maven/lib/maven3/lib/maven-slf4j-provider-3.9.8.jar!/org/slf4j/impl/StaticLoggerBinder.class] 

SLF4J: Found binding in [jar:file:[idea home path]/idea/plugins/maven/lib/maven3/lib/maven-slf4j-provider-3.9.9.jar!/org/slf4j/impl/StaticLoggerBinder.class] 

SLF4J: See http://www.slf4j.org/codes.html#multiple_bindings for an explanation. SLF4J: Actual binding is of type [org.slf4j.impl.MavenSimpleLoggerFactory] 

SLF4J: Class path contains multiple SLF4J bindings. 

SLF4J: Found binding in [jar:file:[idea home path]/idea/plugins/maven/lib/maven3/lib/maven-slf4j-provider-3.9.8.jar!/org/slf4j/impl/StaticLoggerBinder.class] 

SLF4J: Found binding in [jar:file:[idea home path]/idea/plugins/maven/lib/maven3/lib/maven-slf4j-provider-3.9.9.jar!/org/slf4j/impl/StaticLoggerBinder.class] 

SLF4J: See http://www.slf4j.org/codes.html#multiple_bindings for an explanation. 

SLF4J: Actual binding is of type [org.slf4j.impl.MavenSimpleLoggerFactory] 

 

 To avoid this, search for 

/maven3/lib/maven-slf4j-provider-3.9.8.jar
/maven3/lib/maven-slf4j-provider-3.9.9.jar

 And remove maven-slf4j-provider-3.9.8.jar

 That should resolve the issue. 

 

 

No comments:

Post a Comment