Uploaded image for project: 'Jalview'
  1. Jalview
  2. JAL-4255

SLF4J produces an error to STDERR at Jalview startup due to missing class

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: 2.11.2.7
    • Fix Version/s: 2.11.3.0
    • Component/s: Command Line Interface
    • Labels:
      None
    • Environment:
      CLI

      Description

      The SLF4J is missing a StaticLoggerBinder (which probably happened when upgrading during the log4j fixes) and produces a STDERR message
      SLF4J: Failed to load class "org.slf4j.impl.StaticLoggerBinder".
      SLF4J: Defaulting to no-operation (NOP) logger implementation
      SLF4J: See http://www.slf4j.org/codes.html#StaticLoggerBinder for further details.

      The further details explained the cause and fix, which is to add a jar with a StaticLoggerBinder class, e.g. slf4j-nop.jar (no-op).
      The no-op jar is suitable because this is apparently what slf4j falls back to anyway.


        Attachments

          Activity

            People

            Assignee:
            soares Ben Soares
            Reporter:
            soares Ben Soares
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved: