SLF4J Class path contains multiple SLF4J bindings

SLF4J Class path contains multiple SLF4J bindings

This is common issue while first time settting up log4j with the application where multiple jar file inlcuded in your project path and you get below exception:

  • Exception details:

  • Solution: As you see in the exception details there is multiple jars in the classpath found one is from slf4j-simple-1.6.1.jar and and another one is from slf4j-log4j12-1.6.1.jar so to fix this issue plesae remove slf4j-log4j12-1.6.1.jar from your classpath.
  • To download this jars please visit maven site here

Leave a Reply

Your email address will not be published. Required fields are marked *