[
https://issues.apache.org/jira/browse/CAMEL-17545?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17482370#comment-17482370
]
Federico Mariani commented on CAMEL-17545:
------------------------------------------
Hi [~ffang]
I think this is the issue
[https://repo1.maven.org/maven2/org/apache/camel/camel-elasticsearch-rest/3.14.0/camel-elasticsearch-rest-3.14.0.pom]
as you can see camel-elasticsearch-rest (and spring starter) use version
_<version>7.10.2</version>_
> 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)