# Spring data and elasticsearch (6+) release confusion

**URL:** <https://discuss.elastic.co/t/spring-data-and-elasticsearch-6-release-confusion/139789>\
**Category:** Elasticsearch\
**Created:** [July 12, 2018, 3:50pm UTC](https://discuss.elastic.co/t/spring-data-and-elasticsearch-6-release-confusion/139789 "2018-07-12T15:50:25Z")\
**Posts on this page:** 7\
**Page:** 1

<div class="post-metadata">

**Author:** ![kotek](https://avatars.discourse-cdn.com/v4/letter/k/4491bb/32.png) [@kotek](https://discuss.elastic.co/u/kotek)\
**Post date:** [July 12, 2018, 3:50pm UTC](https://discuss.elastic.co/t/spring-data-and-elasticsearch-6-release-confusion/139789/1 "2018-07-12T15:50:25Z")

</div>

Hi all!

My first post here so hopefully i'll be right on spot.

I'm new to ES and trying to integrate with a Spring Data for a production app,

as I prefer using Spring Data vs. ES Java API client (java high level rest), abit confused with the compatibility of the 3.0.X / 3.1.X versions. in [https://github.com/spring-projects/spring-data-elasticsearch](https://github.com/spring-projects/spring-data-elasticsearch)  
it notes that there is a full support of ES 6 and above, but the 3.1.X versions of spring data are not found in maven repositories. and lower versions are not supported with ES 6.0 and above.

Which spring data version should I pick for ES 6.x ? should I stay with spring data or switch to client API to get support for ES 6.? Is there any stable version ? what are my alternatives?

I prefer staying with ES 6.x and above.

I'm writing directly via spring app to ES db.

Thanks!!

---

<div class="post-metadata">

**Author:** ![thiago](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/thiago/32/32096_2.png) [@thiago](https://discuss.elastic.co/u/thiago)\
**Post date:** [July 12, 2018, 10:16pm UTC](https://discuss.elastic.co/t/spring-data-and-elasticsearch-6-release-confusion/139789/2 "2018-07-12T22:16:54Z")

</div>

This is a third-party project that we do not own or maintain, so we can't help you there.

You will have better luck by asking this in Spring Data related forums.

---

<div class="post-metadata">

**Author:** ![vivekranjan](https://avatars.discourse-cdn.com/v4/letter/v/7ea924/32.png) [@vivekranjan](https://discuss.elastic.co/u/vivekranjan)\
**Post date:** [August 8, 2018, 7:37am UTC](https://discuss.elastic.co/t/spring-data-and-elasticsearch-6-release-confusion/139789/3 "2018-08-08T07:37:44Z")

</div>

@kotek  
Hi Aviv,  
You got any solution to your problem? I am also stuck at the same point and really not getting any clue. Kindly, help me.  
Thanks

---

<div class="post-metadata">

**Author:** ![kotek](https://avatars.discourse-cdn.com/v4/letter/k/4491bb/32.png) [@kotek](https://discuss.elastic.co/u/kotek)\
**Post date:** [August 15, 2018, 6:36am UTC](https://discuss.elastic.co/t/spring-data-and-elasticsearch-6-release-confusion/139789/4 "2018-08-15T06:36:56Z")

</div>

Nope, not yet :\

---

<div class="post-metadata">

**Author:** ![vivekranjan](https://avatars.discourse-cdn.com/v4/letter/v/7ea924/32.png) [@vivekranjan](https://discuss.elastic.co/u/vivekranjan)\
**Post date:** [August 21, 2018, 11:22am UTC](https://discuss.elastic.co/t/spring-data-and-elasticsearch-6-release-confusion/139789/5 "2018-08-21T11:22:55Z")

</div>

Please share, if you get any solution or any clue.  
Thanks  
@kotek

---

<div class="post-metadata">

**Author:** ![kotek](https://avatars.discourse-cdn.com/v4/letter/k/4491bb/32.png) [@kotek](https://discuss.elastic.co/u/kotek)\
**Post date:** [August 21, 2018, 1:34pm UTC](https://discuss.elastic.co/t/spring-data-and-elasticsearch-6-release-confusion/139789/6 "2018-08-21T13:34:07Z")

</div>

Had version conflicts, with spring commons and other spring libraries. main issue is related to spring CORE version (below 5 would work with specific versions). Just choose your versions of spring-data-es, spring-core, spring-data-jpa and elasticsearch carefully (check maven for dependencies etc). goodluck!

More details here:

> <https://stackoverflow.com/questions/51588873/java-lang-abstractmethoderror-with-spring-data-elasticsearch>

---

<div class="post-metadata">

**Author:** ![system](https://us1.discourse-cdn.com/elastic/original/3X/1/a/1ac57faf039f6b580b3f104ef42a2a89e41014de.png) [@system](https://discuss.elastic.co/u/system)\
**Post date:** [September 18, 2018, 1:34pm UTC](https://discuss.elastic.co/t/spring-data-and-elasticsearch-6-release-confusion/139789/7 "2018-09-18T13:34:07Z")

</div>

This topic was automatically closed 28 days after the last reply. New replies are no longer allowed.
