SpringDeploymentListenerTest fails on IBM JDK builds with No Class Def Found 
Error
----------------------------------------------------------------------------------

                 Key: KARAF-630
                 URL: https://issues.apache.org/jira/browse/KARAF-630
             Project: Karaf
          Issue Type: Bug
    Affects Versions: 2.2.1
         Environment: Maven 2.2.1
IBM JDK 1.6
            Reporter: Jamie goodyear
             Fix For: 2.2.1


Error as reported during build below:

Tests in error: 
  
testPackagesExtraction(org.apache.karaf.deployer.spring.SpringDeploymentListenerTest)

Running org.apache.karaf.deployer.spring.SpringDeploymentListenerTest
Failed to instantiate SLF4J LoggerFactory
Reported exception:
java.lang.NoClassDefFoundError: org.slf4j.impl.StaticLoggerBinder
        at org.slf4j.LoggerFactory.bind(LoggerFactory.java:121)
        at org.slf4j.LoggerFactory.performInitialization(LoggerFactory.java:111)
        at org.slf4j.LoggerFactory.getILoggerFactory(LoggerFactory.java:268)
        at org.slf4j.LoggerFactory.getLogger(LoggerFactory.java:241)
        at org.slf4j.LoggerFactory.getLogger(LoggerFactory.java:254)
        at 
org.apache.karaf.deployer.spring.SpringDeploymentListener.<init>(SpringDeploymentListener.java:41)
        at 
org.apache.karaf.deployer.spring.SpringDeploymentListenerTest.testPackagesExtraction(SpringDeploymentListenerTest.java:35)
        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
        at 
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:48)
        at 
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
        at java.lang.reflect.Method.invoke(Method.java:600)
        at junit.framework.TestCase.runTest(TestCase.java:168)
        at junit.framework.TestCase.runBare(TestCase.java:134)

--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira

Reply via email to