camel-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "ASF GitHub Bot (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (CAMEL-6513) IncompatibleClassChangeError with weld-se 2.0.2
Date Sun, 07 Sep 2014 07:52:28 GMT

    [ https://issues.apache.org/jira/browse/CAMEL-6513?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14124824#comment-14124824
] 

ASF GitHub Bot commented on CAMEL-6513:
---------------------------------------

Github user asfgit closed the pull request at:

    https://github.com/apache/camel/pull/56


> IncompatibleClassChangeError with weld-se 2.0.2
> -----------------------------------------------
>
>                 Key: CAMEL-6513
>                 URL: https://issues.apache.org/jira/browse/CAMEL-6513
>             Project: Camel
>          Issue Type: Task
>          Components: camel-cdi
>    Affects Versions: 2.11.0
>            Reporter: Andreas Dolk
>            Assignee: Charles Moulliard
>              Labels: cdi
>             Fix For: 2.14.0
>
>
> After upgrading from weld 1.1.10 (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(ExternalBeanAttributesFactory.java:76)
> 	at org.jboss.weld.bean.attributes.ExternalBeanAttributesFactory.validateBeanAttributes(ExternalBeanAttributesFactory.java:69)
> 	at org.jboss.weld.bootstrap.events.AfterBeanDiscoveryImpl.processBean(AfterBeanDiscoveryImpl.java:83)
> 	at org.jboss.weld.bootstrap.events.AfterBeanDiscoveryImpl.addBean(AfterBeanDiscoveryImpl.java:77)
> 	at org.apache.camel.cdi.internal.CamelExtension.registerManagedCamelContext(CamelExtension.java:141)
> 	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
> 	at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
> 	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
> 	at java.lang.reflect.Method.invoke(Method.java:601)
> 	at org.jboss.weld.injection.MethodInjectionPoint.invokeOnInstanceWithSpecialValue(MethodInjectionPoint.java:93)
> 	... 112 more



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Mime
View raw message