java.lang.NoSuchMethodError: org.elasticsearch.action.admin.indices.mapping.put.PutMappingRequestBuilder.setSource
问题 I am trying to run the spring boot parent project which uses child project, which in turn uses project(ES project) which has elasticsearch dependencies and elasticsearch config bean for transport client. The child project uses Spring Data ES repositories, which are enabled by a respective annotation in a project. These are config annotations used in the child: @Configuration @ComponentScan("package") @EntityScan("package3") @EnableJpaRepositories("package2") // enables only es repos for