You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@camel.apache.org by "Freeman Yue Fang (Jira)" <ji...@apache.org> on 2022/01/25 20:39:00 UTC

[jira] [Commented] (CAMEL-17545) camel elasticsearch rest on spring boot - class not found error

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

Freeman Yue Fang commented on CAMEL-17545:
------------------------------------------

Hi [~Federico Mariani],

Thanks for reporting this.

I checked the [spring-boot-dependencies:2.6.1|view-source:https://repo1.maven.org/maven2/org/springframework/boot/spring-boot-dependencies/2.6.1/spring-boot-dependencies-2.6.1.pom], but the elasticsearch.version there is the same as it in camel 3.14.
{code}
<elasticsearch.version>7.15.2</elasticsearch.version>
{code}

Any chance you can append a reproducer project so that we can take a close look?

Thanks!
Freeman

> camel elasticsearch rest on spring boot - class not found error
> ---------------------------------------------------------------
>
>                 Key: CAMEL-17545
>                 URL: https://issues.apache.org/jira/browse/CAMEL-17545
>             Project: Camel
>          Issue Type: Bug
>          Components: camel-elasticsearch-rest, camel-spring-boot
>    Affects Versions: 3.14.0
>            Reporter: Federico Mariani
>            Assignee: Freeman Yue Fang
>            Priority: Minor
>
> When using {*}spring-boot-dependencies:2.6.1{*}, _camel-spring-boot-dependencies:3.14.0_ and the dependency _camel-elasticsearch-rest-starter_ I got the following error
> _Caused by: java.lang.ClassNotFoundException: org.elasticsearch.common.CheckedConsumer_
> I think that camel and spring boot use different elasticsearch versions, moreover if I use *spring-boot-dependencies:2.5.9* the component works as expected.



--
This message was sent by Atlassian Jira
(v8.20.1#820001)