Uploaded image for project: 'Karaf'
  1. Karaf
  2. KARAF-5062

Failed to load slf4j classes

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Won't Fix
    • 3.0.8
    • None
    • karaf
    • OS: Ubuntu 16.10, SLES 12 SP2 and RHEL 7.3
      Platform: s390x
      JRE: openjdk 1.8.0
      Maven version: 3.3.9

    Description

      Trying to build from the source with "mvn clean install", but get the following test failure. I have installed slf4j and all the jar files are at "/usr/share/java"

      Running org.apache.karaf.main.MainLockingTest
      Mar 24, 2017 2:40:21 PM org.apache.karaf.main.Main launch
      INFO: Installing and starting initial bundles
      Mar 24, 2017 2:40:21 PM org.apache.karaf.main.Main launch
      INFO: All initial bundles installed and set to start
      Mar 24, 2017 2:40:22 PM org.apache.karaf.main.Main$KarafLockCallback lockAquired
      INFO: Lock acquired. Setting startlevel to 100
      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.
      Tests run: 1, Failures: 0, Errors: 1, Skipped: 0, Time elapsed: 0.873 sec <<< FAILURE! - in org.apache.karaf.main.MainLockingTest
      testLostMasterLock(org.apache.karaf.main.MainLockingTest) Time elapsed: 0.873 sec <<< ERROR!
      org.osgi.framework.BundleException: Unresolved constraint in bundle BuildByTinyBundles24b8d4c4-3ca1-4df7-ae79-753f63d4f928 [3]: Unable to resolve 3.0: missing requirement [3.0] osgi.ee; (&(osgi.ee=JavaSE)(version=1.6))
      at org.apache.felix.framework.Felix.resolveBundleRevision(Felix.java:3826)
      at org.apache.felix.framework.Felix.startBundle(Felix.java:1868)
      at org.apache.felix.framework.BundleImpl.start(BundleImpl.java:944)
      at org.apache.felix.framework.BundleImpl.start(BundleImpl.java:931)
      at org.apache.karaf.main.MainLockingTest.testLostMasterLock(MainLockingTest.java:65)

      Attachments

        Activity

          People

            Unassigned Unassigned
            leoz Leo Z
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: