Uploaded image for project: 'Camel'
  1. Camel
  2. CAMEL-9936

Camel-parent 17.0 uses incompatible logback-classic and slf4j-api

    XMLWordPrintableJSON

Details

    • Task
    • Status: Resolved
    • Minor
    • Resolution: Fixed
    • 2.17.0
    • 2.17.2, 2.18.0
    • camel-core
    • None
    • Novice

    Description

      Camel-parent 17.0 uses logback-classic:1.1.5 and slf4j-api:1.7.13

      These are not compatible and produce the following error:
      java.lang.NoClassDefFoundError: org/slf4j/event/LoggingEvent

      See the following page:
      http://www.slf4j.org/codes.html

      Logback-classic version 1.1.4 and later require slf4j-api version 1.7.15 or later.
      With an earlier slf4j-api.jar in the classpath, attempting introspection of a Logger instance returned by logback version 1.1.4 or later will result in a NoClassDefFoundError similar to that shown below....

      Attachments

        Activity

          People

            davsclaus Claus Ibsen
            jmandawg Jay mann
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: