Uploaded image for project: 'SLF4J'
  1. SLF4J
  2. SLF4J-502

SLF4J generates error message when multiple static bindings found in classpath

    XMLWordPrintable

Details

    • Icon: Bug Bug
    • Resolution: Unresolved
    • Icon: Major Major
    • None
    • None
    • None
    • None
    • Maven, Java

    • major

    Description

      SLF4J: Class path contains multiple SLF4J bindings.
      SLF4J: Found binding in [jar:file:/C:/Users/xxxxxx/.m2/repository/org/slf4j/slf4j-log4j12/1.6.1/slf4j-log4j12-1.6.1.jar!/org/slf4j/impl/StaticLoggerBinder.class]
      SLF4J: Found binding in [jar:file:/C:/Users/xxxxxx/.m2/repository/ch/qos/logback/logback-classic/1.2.3/logback-classic-1.2.3.jar!/org/slf4j/impl/StaticLoggerBinder.class]
      SLF4J: See http://www.slf4j.org/codes.html#multiple_bindings for an explanation.

       

      Please stop breaking builds with this.  The proper fix is to assign different package names to the conflicting classes.  Fix the problem right instead of throwing the problem back into the user's lap.

      Attachments

        Activity

          People

            slf4j-dev SLF4J developers list
            bak B K
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated: