尝试更新一个试验性的Spring项目,以反映3.2.6发行版中的变化。
如前所述:TransportClient在Elasticsearch 7中被取消,并将在8中被删除。with name 'elasticDatasource' defined in file [/Users/erichuang/Desktop/JE/00-Development/dev/lab/lab-elastic-search
spring应用程序中有以下配置:public class config {
public TransportClient elasticsearchSecuredClient() throws Exception {
// Based on https://github.com/elastic/found-shield-example/blob/master‘弹力搜索操作’时不能解析