camel-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Andreas Dolk (JIRA)" <>
Subject [jira] [Created] (CAMEL-6513) IncompatibleClassChangeError with weld-se 2.0.2
Date Thu, 04 Jul 2013 15:45:50 GMT
Andreas Dolk created CAMEL-6513:

             Summary: IncompatibleClassChangeError with weld-se 2.0.2
                 Key: CAMEL-6513
             Project: Camel
          Issue Type: Bug
          Components: camel-cdi
    Affects Versions: 2.11.0
            Reporter: Andreas Dolk

After upgrading from weld 1.1.0 (CDI 1.0) to weld 2.0.2 (CDI 1.1), an Arquillian based test
throws an error:

Caused by: java.lang.IncompatibleClassChangeError: Class org.apache.camel.cdi.internal.CamelContextBean
does not implement the requested interface javax.enterprise.inject.spi.BeanAttributes
	at org.jboss.weld.bean.attributes.ExternalBeanAttributesFactory.validateStereotypes(
	at org.jboss.weld.bean.attributes.ExternalBeanAttributesFactory.validateBeanAttributes(
	at org.apache.camel.cdi.internal.CamelExtension.registerManagedCamelContext(
	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
	at sun.reflect.NativeMethodAccessorImpl.invoke(
	at sun.reflect.DelegatingMethodAccessorImpl.invoke(
	at java.lang.reflect.Method.invoke(
	at org.jboss.weld.injection.MethodInjectionPoint.invokeOnInstanceWithSpecialValue(
	... 112 more

This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see:

View raw message