Uploaded image for project: 'Jackrabbit Content Repository'
  1. Jackrabbit Content Repository
  2. JCR-4796

Remove slf4j from Jackrabbit libraries

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Not A Problem
    • None
    • None
    • None
    • None

    Description

      Life is too short to deal with exceptions like this one:

      java.lang.LinkageError: loader constraint violation: when resolving method 'org.slf4j.ILoggerFactory org.slf4j.impl.StaticLoggerBinder.getLoggerFactory()' the class loader org.apache.catalina.loader.ParallelWebappClassLoader @4bd217c of the current class, org/slf4j/LoggerFactory, and the class loader java.net.URLClassLoader @7907ec20 for the method's defining class, org/slf4j/impl/StaticLoggerBinder, have different Class objects for the type org/slf4j/ILoggerFactory used in the signature (org.slf4j.LoggerFactory is in unnamed module of loader org.apache.catalina.loader.ParallelWebappClassLoader @4bd217c, parent loader java.net.URLClassLoader @7907ec20; org.slf4j.impl.StaticLoggerBinder is in unnamed module of loader java.net.URLClassLoader @7907ec20, parent loader 'app')

      Remove slf4j and replace with the java default behaviour.

      Attachments

        Activity

          People

            Unassigned Unassigned
            minfrin Graham Leggett
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: