From 8725d35bbc4e0710d81a186b6c6cf713e9f8dbb6 Mon Sep 17 00:00:00 2001 From: Jochen Schalanda Date: Mon, 29 Apr 2019 14:35:57 +0200 Subject: [PATCH] Fix markup --- ...g-Data-Elasticsearch---Spring-Boot---version-matrix.md | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/Spring-Data-Elasticsearch---Spring-Boot---version-matrix.md b/Spring-Data-Elasticsearch---Spring-Boot---version-matrix.md index 4a026ef..7f0fd9f 100644 --- a/Spring-Data-Elasticsearch---Spring-Boot---version-matrix.md +++ b/Spring-Data-Elasticsearch---Spring-Boot---version-matrix.md @@ -12,15 +12,15 @@ *** -#Common questions: +# Common questions: -##1. Why Spring Boot 1.x.x doesn't work with Elasticsearch 2.x.x? +## 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 +## 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 @@ -33,7 +33,7 @@ To change version of ES from 1.5.2 to 1.7.2 add elasticsearch.version into your ``` -##3. Caused by: java.lang.IllegalArgumentException: @ConditionalOnMissingBean annotations must specify at least one bean (type, name or annotation) +## 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.