Bean named 'elasticsearchTemplate' is expected to be of type 'org.springframework.data.elasticsearch.core.ElasticsearchTemplate' but was actually of type
解决办法,检查es配置文件
data:
elasticsearch:
clusterName: docker-cluster
clusterNodes: 127.0.0.1:9300
repositories:
enabled: true
elasticsearch:
rest:
uris: http://127.0.0.1:9200
解决ElasticsearchTemplate类型错误
8988

被折叠的 条评论
为什么被折叠?



