From c9be0fdf0ea09327d8456889cf98940c513708d5 Mon Sep 17 00:00:00 2001 From: Mark Paluch Date: Tue, 10 Sep 2019 11:59:21 +0200 Subject: [PATCH] Updated Spring Data Elasticsearch Spring Boot version matrix (markdown) --- ...icsearch---Spring-Boot---version-matrix.md | 41 +------------------ 1 file changed, 1 insertion(+), 40 deletions(-) diff --git a/Spring-Data-Elasticsearch---Spring-Boot---version-matrix.md b/Spring-Data-Elasticsearch---Spring-Boot---version-matrix.md index 7f0fd9f..a05fae3 100644 --- a/Spring-Data-Elasticsearch---Spring-Boot---version-matrix.md +++ b/Spring-Data-Elasticsearch---Spring-Boot---version-matrix.md @@ -1,40 +1 @@ - -|Spring Boot Version (x)| Spring Data Elasticsearch Version (y) | Elasticsearch Version (z)| -|---|---|---| -| x <= 1.3.5| y <= 1.3.4 | z <= 1.7.2* | -| x >= 1.4.x| 2.0.0 <=y < 5.0.0** | 2.0.0 <= z < 5.0.0**| - -*** - -(*) - require manual change in your project pom file (solution 2.) - -(**) - Next big ES release with breaking changes - -*** - -# Common questions: - -## 1. Why Spring Boot 1.x.x doesn't work with Elasticsearch 2.x.x? - -Spring boot 1.x.x auto configuration is using ImmutableSettings class from Elasticsearch and that class has been removed in version 2.x.x of Elasticsearch. - -For more information please look at that page: [Breaking changes in Elasticsearch 2.0](https://www.elastic.co/guide/en/elasticsearch/reference/current/breaking_20_java_api_changes.html#_immutablesettings_removed) - -## 2. Run Spring Boot 1.3.5 + ES 1.7.2 - -Spring Boot has dedicated module to specify dependency versions. -To change version of ES from 1.5.2 to 1.7.2 add elasticsearch.version into your pom properties - -``` - - ... - 1.7.2 - ... - -``` - -## 3. Caused by: java.lang.IllegalArgumentException: @ConditionalOnMissingBean annotations must specify at least one bean (type, name or annotation) - -You have mixed version of Spring Boot 1.3.5 with ES 2.x.x and this will not work - please look at Point 1. - - \ No newline at end of file +⚠️ This page was deprecated in favor of a compatibility matrix in the [repository readme](https://github.com/spring-projects/spring-data-elasticsearch#maven-configuration). \ No newline at end of file