@ElasticsearchDataConfiguration There is the following code SpringBoot Enabling Spring Data Elasticsearch auditing causes application startup failure , But the matching beans in the code audit in spring data es are matched by name SpringBoot Enabling Spring Data Elasticsearch auditing causes application startup failure I had to rewrite the bean in the project to make it work or I would have reported an error SpringBoot Enabling Spring Data Elasticsearch auditing causes application startup failure