You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@camel.apache.org by "Claus Ibsen (JIRA)" <ji...@apache.org> on 2018/09/26 06:24:00 UTC

[jira] [Resolved] (CAMEL-12836) Type Converter Loader Exception: Elasticsearch-Rest cannot find any in package defined

     [ https://issues.apache.org/jira/browse/CAMEL-12836?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Claus Ibsen resolved CAMEL-12836.
---------------------------------
    Resolution: Fixed
      Assignee: Claus Ibsen

> Type Converter Loader Exception: Elasticsearch-Rest cannot find any in package defined
> --------------------------------------------------------------------------------------
>
>                 Key: CAMEL-12836
>                 URL: https://issues.apache.org/jira/browse/CAMEL-12836
>             Project: Camel
>          Issue Type: Bug
>    Affects Versions: 2.22.0
>         Environment: Docker/K8s
>            Reporter: Tim Sexton
>            Assignee: Claus Ibsen
>            Priority: Major
>             Fix For: 2.22.2, 2.23.0
>
>
> {code:java}
> {{Error creating bean with name 'servletEndpointRegistrar' defined in class path resource [org/springframework/boot/actuate/autoconfigure/endpoint/web/ServletEndpointManagementContextConfiguration$WebMvcServletEndpointManagementContextConfiguration.class]: Bean instantiation via factory method failed; nested exception is org.springframework.beans.BeanInstantiationException: Failed to instantiate [org.springframework.boot.actuate.endpoint.web.ServletEndpointRegistrar]: Factory method 'servletEndpointRegistrar' threw exception; nested exception is org.springframework.beans.factory.UnsatisfiedDependencyException: Error creating bean with name 'routeControllerEndpoint' defined in class path resource [org/apache/camel/spring/boot/actuate/endpoint/CamelRouteControllerEndpointAutoConfiguration.class]: Unsatisfied dependency expressed through method 'routeControllerEndpoint' parameter 0; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'camelContext' defined in class path resource [org/apache/camel/spring/boot/CamelAutoConfiguration.class]: Bean instantiation via factory method failed; nested exception is org.springframework.beans.BeanInstantiationException: Failed to instantiate [org.apache.camel.CamelContext]: Factory method 'camelContext' threw exception; nested exception is org.apache.camel.RuntimeCamelException: org.apache.camel.TypeConverterLoaderException: Failed to load type converters because of: Cannot find any type converter classes from the following packages: [org.apache.camel.component.elasticsearch.converter] }}{code}
>  
>  
> A possible solution to this is to use FQN class names instead of package name



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)