Uploaded image for project: 'Camel'
  1. Camel
  2. CAMEL-14500

camel-core - spi-annotations is not optional

    XMLWordPrintableJSON

    Details

    • Type: Improvement
    • Status: Resolved
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 3.1.0
    • Component/s: camel-core
    • Labels:
      None
    • Estimated Complexity:
      Unknown

      Description

      They are no longer optional for running camel. As we look for @Component to grab scheme name.

      Caused by: java.lang.NoClassDefFoundError: org/apache/camel/spi/annotations/Component
      at org.apache.camel.support.DefaultComponent.doInit (DefaultComponent.java:406)
      at org.apache.camel.support.service.ServiceSupport.init (ServiceSupport.java:82)
      at org.apache.camel.support.service.ServiceHelper.initService (ServiceHelper.java:55)
      at org.apache.camel.impl.engine.AbstractCamelContext.initComponent (AbstractCamelContext.java:576)
      at org.apache.camel.impl.engine.AbstractCamelContext.access$000 (AbstractCamelContext.java:170)
      at org.apache.camel.impl.engine.AbstractCamelContext$2.apply (AbstractCamelContext.java:505)
      at org.apache.camel.impl.engine.AbstractCamelContext$2.apply (AbstractCamelContext.java:501)
      at java.util.concurrent.ConcurrentHashMap.computeIfAbsent (ConcurrentHashMap.java:1660)
      at org.apache.camel.impl.engine.AbstractCamelContext.getComponent (AbstractCamelContext.java:501)
      at org.apache.camel.impl.engine.AbstractCamelContext.getComponent (AbstractCamelContext.java:477)
      at org.apache.camel.impl.engine.AbstractCamelContext.getEndpoint (AbstractCamelContext.java:748)
      at org.apache.camel.support.CamelContextHelper.getMandatoryEndpoint (CamelContextHelper.java:57)
      at org.apache.camel.impl.engine.DefaultRouteContext.resolveEndpoint (DefaultRouteContext.java:120)
      at org.apache.camel.reifier.RouteReifier.doCreateRoute (RouteReifier.java:364)
      at org.apache.camel.reifier.RouteReifier.createRoute (RouteReifier.java:107)
      at org.apache.camel.impl.DefaultModel.start (DefaultModel.java:356)
      at org.apache.camel.impl.DefaultModel.startRoute (DefaultModel.java:330)
      at org.apache.camel.impl.DefaultModel.startRouteDefinitions (DefaultModel.java:323)
      at org.apache.camel.impl.DefaultModel.startRouteDefinitions (DefaultModel.java:302)
      at org.apache.camel.impl.AbstractModelCamelContext.startRouteDefinitions (AbstractModelCamelContext.java:317)
      at org.apache.camel.impl.engine.AbstractCamelContext.doStartCamel (AbstractCamelContext.java:2590)
      at org.apache.camel.impl.engine.AbstractCamelContext.lambda$doStart$2 (AbstractCamelContext.java:2442)
      at org.apache.camel.impl.engine.AbstractCamelContext.doWithDefinedClassLoader (AbstractCamelContext.java:2459)
      at org.apache.camel.impl.engine.AbstractCamelContext.doStart (AbstractCamelContext.java:2440)
      at org.apache.camel.support.service.ServiceSupport.start (ServiceSupport.java:120)
      at org.apache.camel.impl.engine.AbstractCamelContext.start (AbstractCamelContext.java:2349)

        Attachments

          Activity

            People

            • Assignee:
              davsclaus Claus Ibsen
              Reporter:
              davsclaus Claus Ibsen
            • Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: