SpringBoot中的弹性搜索存储库

问题描述

我已经将我的弹性搜索(7.7)实例托管在AWS上,并且正在使用Springboot 2.2版。 我正在尝试创建一个弹性搜索存储库,但出现错误

*********
APPLICATION FAILED TO START
*********

Description:

Field elasticSearchRepository in <package> required a bean named 'elasticsearchTemplate' that could not be found.

The injection point has the following annotations:
    - @org.springframework.beans.factory.annotation.Autowired(required=true)


Action:

Consider defining a bean named 'elasticsearchTemplate' in your configuration.

解决方法

暂无找到可以解决该程序问题的有效方法,小编努力寻找整理中!

如果你已经找到好的解决方法,欢迎将解决方案带上本链接一起发送给小编。

小编邮箱:dio#foxmail.com (将#修改为@)