# Errors when using spring-data-elasticsearch version 3.0.0.BUILD-SNAPSHOT and Elasticsearch 5.4.0

**URL:** <https://discuss.elastic.co/t/errors-when-using-spring-data-elasticsearch-version-3-0-0-build-snapshot-and-elasticsearch-5-4-0/90525>\
**Category:** Elasticsearch\
**Created:** [June 22, 2017, 7:52pm UTC](https://discuss.elastic.co/t/errors-when-using-spring-data-elasticsearch-version-3-0-0-build-snapshot-and-elasticsearch-5-4-0/90525 "2017-06-22T19:52:22Z")\
**Posts on this page:** 1\
**Showing post:** 6

<div class="post-metadata">

**Author:** ![dadoonet](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/dadoonet/32/137187_2.png) [@dadoonet](https://discuss.elastic.co/u/dadoonet)\
**Post date:** [July 12, 2017, 9:03am UTC](https://discuss.elastic.co/t/errors-when-using-spring-data-elasticsearch-version-3-0-0-build-snapshot-and-elasticsearch-5-4-0/90525/6 "2017-07-12T09:03:04Z")

</div>

I'm afraid I don't have the answer. To me it's more something you should ask on the spring data mailing list.

BTW you are not alone:

> [@Startup error with springboot and elasticsearch 5.4.1 ClassNotFoundException: org.elasticsearch.action.count.CountRequestBuilder](https://discuss.elastic.co/t/startup-error-with-springboot-and-elasticsearch-5-4-1-classnotfoundexception-org-elasticsearch-action-count-countrequestbuilder/90482):
>
> i'm new to es,it errors when i start up my app with springboot .here are my settings: @Bean public Client client() throws Exception { Settings esSettings = Settings.builder() .put("cluster.name", EsClusterName) .put("client.transport.sniff", true) .build(); return new PreBuiltTransportClient(esSettings).addTransportAddresses(new InetSocketTransportAddress(InetAddress.getByName(EsHost), EsPort)); } error msg: org.springframework.beans.factory.BeanCreationException: Error creat…

I'm planning to play around Spring Data ES integration this summer but for now I have little experience with it (well almost no experience).

Anyway, thanks a lot for the full repository example. I know it's a lot of efforts doing so.

---

_[View the full topic](https://discuss.elastic.co/t/errors-when-using-spring-data-elasticsearch-version-3-0-0-build-snapshot-and-elasticsearch-5-4-0/90525)._
