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

SLF4J: Class path contains multiple SLF4J bindings

    XMLWordPrintable

Details

    • Icon: Bug Bug
    • Resolution: Not a bug
    • Icon: Major Major
    • None
    • 1.7.x
    • Unspecified
    • None

    Description

      In our project, there is one warning message as below when to use slf4j-1.7.5, how to resolve this issue?

      • project dependency:
        <dependency name="slf4j-1.7.5" type="jar" version="1.7.5"/>
        this will include slf4j-api-1.7.5.jar and slf4j-log4j12-1.7.5.jar
        <dependency name="hystrix" type="jar" />
        this will include slf4j-api-1.7.5.jar and slf4j-jdk14-1.7.5.jar
      • warning message:
        WARNING: Couldn't load build resource bundle. Build timestamp will be inaccurate ***
        SLF4J: Class path contains multiple SLF4J bindings.
        SLF4J: Found binding in [wsjar:file:/xxx.ear/slf4j-log4j12-1.7.5.jar!/org/slf4j/impl/StaticLoggerBinder.class]
        SLF4J: Found binding in [wsjar:file:/xxx.ear/slf4j-jdk14-1.7.5.jar!/org/slf4j/impl/StaticLoggerBinder.class]*
        SLF4J: See http://www.slf4j.org/codes.html#multiple_bindings for an explanation.

      Attachments

        Activity

          People

            slf4j-dev SLF4J developers list
            dannoe Pu Yi He
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: