camel-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Claus Ibsen <claus.ib...@gmail.com>
Subject Re: Upgrading to Camel 2.14.1 and CompositeRegistry issue
Date Wed, 25 Feb 2015 14:17:37 GMT
Hi

This sounds like a mixed versions of Camel on the classpath. So double
check that you use the same Camel version for all your camel jars.

On Wed, Feb 25, 2015 at 1:18 PM, geppo <gepporello@gmail.com> wrote:
> Hi, I'm trying to upgrade some legacy code to use Camel 2.14.1, but I'm
> getting an AbstractMethodError when the method lookupByNameAndType is
> called. Any idea what this means and/or how I can fix it?
> Many thanks!
>
> Caused by: org.apache.camel.NoSuchBeanException: Cannot lookup: properties
> from registry: myUtils.camel.guice.GuiceRegistry@2ba95c45 with expected
> type: class org.apache.camel.component.properties.PropertiesComponent due:
> null
>         at
> org.apache.camel.impl.CompositeRegistry.lookupByNameAndType(CompositeRegistry.java:62)
>         at
> org.apache.camel.impl.PropertyPlaceholderDelegateRegistry.lookupByNameAndType(PropertyPlaceholderDelegateRegistry.java:63)
>         at
> org.apache.camel.util.CamelContextHelper.lookupPropertiesComponent(CamelContextHelper.java:492)
>         at
> org.apache.camel.impl.DefaultCamelContext.doStartCamel(DefaultCamelContext.java:1891)
>         at
> org.apache.camel.impl.DefaultCamelContext.doStart(DefaultCamelContext.java:1767)
>         at org.apache.camel.support.ServiceSupport.start(ServiceSupport.java:61)
>         at
> org.apache.camel.impl.DefaultCamelContext.start(DefaultCamelContext.java:1735)
>         at myUtils.camel.MyService.start(MyService.java:19)
>         ... 5 more
> Caused by: java.lang.AbstractMethodError
>         at
> org.apache.camel.impl.CompositeRegistry.lookupByNameAndType(CompositeRegistry.java:56)
>         ... 12 more
>
>
>
>
> --
> View this message in context: http://camel.465427.n5.nabble.com/Upgrading-to-Camel-2-14-1-and-CompositeRegistry-issue-tp5763152.html
> Sent from the Camel - Users mailing list archive at Nabble.com.



-- 
Claus Ibsen
-----------------
Red Hat, Inc.
Email: cibsen@redhat.com
Twitter: davsclaus
Blog: http://davsclaus.com
Author of Camel in Action: http://www.manning.com/ibsen
hawtio: http://hawt.io/
fabric8: http://fabric8.io/

Mime
View raw message