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

          Activity

          Hide
          mielket Torsten Mielke added a comment -

          Related to CAMEL-577.

          Show
          mielket Torsten Mielke added a comment - Related to CAMEL-577 .
          Hide
          dbosanac Dejan Bosanac added a comment -

          This has been fixed in the meantime

          Show
          dbosanac Dejan Bosanac added a comment - This has been fixed in the meantime

            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: