spring-boot
spring-boot copied to clipboard
Elasticsearch auto-configuration may cause startup failure
If Elasticsearch is on the classpath but Spring Data Elasticsearch is not, the auto-configuration kicks in and fails when it tries to load org.springframework.data.elasticsearch.client.NodeClientFactoryBean
you can set network.host and cluster.name properties in config/elasticsearch.yml.