You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@karaf.apache.org by "Leo Z (JIRA)" <ji...@apache.org> on 2017/03/24 14:52:41 UTC

[jira] [Created] (KARAF-5062) Failed to load

Leo Z created KARAF-5062:
----------------------------

             Summary: Failed to load 
                 Key: KARAF-5062
                 URL: https://issues.apache.org/jira/browse/KARAF-5062
             Project: Karaf
          Issue Type: Bug
          Components: karaf-test
    Affects Versions: 3.0.8
         Environment: OS: Ubuntu 16.10, SLES 12 SP2 and RHEL 7.3
Platform: s390x
JRE: openjdk 1.8.0
Maven version: 3.3.9
            Reporter: Leo Z


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"

{quote}
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)
{quote}



--
This message was sent by Atlassian JIRA
(v6.3.15#6346)