Uploaded image for project: 'Hippo CMS'
  1. Hippo CMS
  2. CMS-2543

Dependencies for slf4j not according to www.slf4j.org. Danger of clash of classes?

    XMLWordPrintable

Details

    • Bug
    • Status: Closed
    • Normal
    • Resolution: Outdated
    • r2.06.04 (m13 - rc5)
    • Icebox
    • None
    • None

    Description

      1) I remove the slf4j folder from my .m2 repository
      2) I do mvn -DskipTests clean install on project root of trunk
      3) I look at the
      /slf4j 45346> grep -r org.slf4j.impl.StaticLoggerBinder *
      Binary file slf4j-jdk14/1.4.3/slf4j-jdk14-1.4.3.jar matches
      Binary file slf4j-log4j12/1.4.3/slf4j-log4j12-1.4.3.jar matches

      While http://www.slf4j.org/codes.html#StaticLoggerBinder warns against having both slf4j-jdk14 and slf4j-log4j12 in the classpath at the same time:

      Failed to load class org.slf4j.impl.StaticLoggerBinder

      This error is reported when the org.slf4j.impl.StaticLoggerBinder class could not be loaded into memory. This happens when no appropriate SLF4J binding could be found on the class path. Placing one (and only one) of slf4j-nop.jar, slf4j-simple.jar, slf4j-log4j12.jar, slf4j-jdk14.jar or logback-classic.jar on the class path should solve the problem.

      Attachments

        Issue Links

          Activity

            People

              Unassigned Unassigned
              rbijlsma Rita Bijlsma (Inactive)
              Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: