Uploaded image for project: 'JBoss Enterprise Application Platform'
  1. JBoss Enterprise Application Platform
  2. JBEAP-89

Could not find beans for Type=class org.apache.camel.cdi.internal.CamelContextMap

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Obsolete
    • Icon: Critical Critical
    • 6.4.0.GA
    • None
    • CDI / Weld
    • None

      With the camel-cdi integration I get

      13:21:25,335 ERROR [org.jboss.as.controller.management-operation] (management-handler-thread - 4) JBAS014612: Operation ("deploy") failed - address: ([("deployment" => "simple.war")]) - failure description: {"JBAS014671: Failed services" => {"jboss.deployment.unit.\"simple.war\".WeldStartService" => "org.jboss.msc.service.StartException in service jboss.deployment.unit.\"simple.war\".WeldStartService: Failed to start service
          Caused by: org.jboss.weld.exceptions.DeploymentException: Exception List with 1 exceptions:
      Exception 0 :
      java.lang.IllegalStateException: Could not find beans for Type=class org.apache.camel.cdi.internal.CamelContextMap and qualifiers:[]
      	at org.apache.deltaspike.core.api.provider.BeanProvider.getContextualReference(BeanProvider.java:150)
      	at org.apache.deltaspike.core.api.provider.BeanProvider.getContextualReference(BeanProvider.java:119)
      	at org.apache.deltaspike.core.api.provider.BeanProvider.getContextualReference(BeanProvider.java:100)
      	at org.apache.camel.cdi.internal.CamelExtension.getCamelContext(CamelExtension.java:331)
      	at org.apache.camel.cdi.internal.CamelExtension.startConsumeBeans(CamelExtension.java:226)
      	at org.apache.camel.cdi.internal.CamelExtension$Proxy$_$$_WeldClientProxy.startConsumeBeans(CamelExtension$Proxy$_$$_WeldClientProxy.java)

      To reproduce, build

      https://github.com/tdiesler/wildfly-camel/tree/task42

              sdouglas1@redhat.com Stuart Douglas (Inactive)
              tdiesler@redhat.com Thomas Diesler
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

                Created:
                Updated:
                Resolved: