Uploaded image for project: 'FUSE Message Broker'
  1. FUSE Message Broker
  2. MB-371

java.lang.NoClassDefFoundError: org/osgi/framework/Bundle

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Major
    • Resolution: Done
    • Affects Version/s: 5.1.0.0-fuse
    • Fix Version/s: 5.1.0.3-fuse
    • Component/s: broker
    • Labels:
      None

      Description

      FUSE MB 5.1.0-fuse-SNAPSHOT does not startup but raises:

      Caused by: java.lang.NoClassDefFoundError: org/osgi/framework/Bundle
      at org.apache.camel.spring.RouteBuilderFinder.<init>(RouteBuilderFinder.java:41)
      at org.apache.camel.spring.CamelContextFactoryBean.findRouteBuiders(CamelContextFactoryBean.java:404)
      at org.apache.camel.spring.CamelContextFactoryBean.afterPropertiesSet(CamelContextFactoryBean.java:189)
      at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.invokeInitMethods(AbstractAutowireCapableB
      eanFactory.java:1367)
      at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.initializeBean(AbstractAutowireCapableBean
      Factory.java:1333)
      ... 43 more

      FUSE MR 1.4.0.0 has a dependency on felix but the corresponding jar is not provided to the runtime.
      Workaround is to copy org.apache.felix.framework-1.0.0.jar (e.g. from local maven repo) to AMQ_HOME/lib but we should rather fix this error.

        Gliffy Diagrams

          Attachments

            Activity

              People

              • Assignee:
                dbosanac Dejan Bosanac
                Reporter:
                mielket Torsten Mielke
              • Votes:
                0 Vote for this issue
                Watchers:
                0 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: