Spring Data Elasticsearch throws error when Elasticsearch service is not started
Setting @Document(indexName = "person", createIndex = true)
without starting the Elasticsearch service on the machine, the Spring Boot project fails to start and reports the following error: