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

slf4j unable to resolve a specific binding

    XMLWordPrintable

Details

    • Bug
    • Status: Resolved
    • Normal
    • Resolution: Fixed
    • 14.4.0
    • None
    • archetype
    • None
    • mac os x 10.15.7

    Description

      upon building the default archetype, I get this output at the top of my console.
      SLF4J: Class path contains multiple SLF4J bindings.
      SLF4J: Found binding in jar:file:/Users/josephliechty/maven/apache-maven-3.6.0/lib/maven-slf4j-provider-3.6.0.jar
      SLF4J: Found binding in jar:file:/Users/josephliechty/maven/apache-maven-3.6.0/lib/logback-classic-1.2.3.jar
      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:/Users/josephliechty/maven/apache-maven-3.6.0/lib/maven-slf4j-provider-3.6.0.jar
      SLF4J: Found binding in jar:file:/Users/josephliechty/maven/apache-maven-3.6.0/lib/logback-classic-1.2.3.jar
      SLF4J: See
      http://www.slf4j.org/codes.html#multiple_bindings
      for an explanation.
      SLF4J: Actual binding is of type [org.slf4j.impl.MavenSimpleLoggerFactory]
      According to this thread on slack:

      https://bloomreach.slack.com/archives/CN01NKYU8/p1616091981025500

      wko notes that this is not some local environment issue with my machine, butĀ  due to a project configuration issue. to be specific, sfl4j is not able to resolve a specific binding. The issue is that this is reproduceable with the default archetype.

      Steps to reproduce:
      mvn org.apache.maven.plugins:maven-archetype-plugin:2.4:generate \
      -DarchetypeRepository=
      https://maven.onehippo.com/maven2
      \
      -DarchetypeGroupId=org.onehippo.cms7 \
      -DarchetypeArtifactId=hippo-project-archetype \
      -DarchetypeVersion=14.4.0
      hit enter key at prompt for project name
      cd myproject
      mvn verify
      {{}}
      I understand that this issue is cosmetic-only, but this is our core archetype. We should be absolutely certain the first thing our customers see upon trying to build our project is not some 'throwaway' or 'ok-just-ignore-it' text output. looks sloppy.

      {{}}

      Please forgive me if I have filed this jira incorrectly.

      Attachments

        Activity

          People

            Unassigned Unassigned
            joeyliechty Joey Liechty
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: