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

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

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 2.2.1
    • 2.2.1, 3.0.0
    • None
    • None
    • Maven 2.2.1
      IBM JDK 1.6

    Description

      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)

      Attachments

        Activity

          People

            jgoodyear Jamie Mark Goodyear
            jgoodyear Jamie Mark Goodyear
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: