试试搜索一下吧

Cannot evaluate org.elasticsearch.common.inject.InjectorImpl.toString()

Elasticsearch | 作者 Cyberpunk | 发布于2017年05月05日 | 阅读数:11606

在执行这一句代码的时候,查看 this.template 的 client 会报出异常....
queryForPage = this.template.queryForPage(searchQuery.build(), tClass);
injector = {org.elasticsearch.common.inject.InjectorImpl@3026} Method threw 'java.lang.StackOverflowError' exception. Cannot evaluate org.elasticsearch.common.inject.InjectorImpl.toString()
state = {org.elasticsearch.common.inject.InheritingState@3088} 
parent = null
readOnly = true
......
 
elasticsearch 版本为 2.4.1
spring-data elasticsearch 版本为 2.1.3
spring framework 版本为 4.3.2
 
然后,我就很懵逼了...
已邀请:

medcl - 今晚打老虎。

赞同来自:

配置和调用代码有么?
这里有个和你一样的问题,参考下:
https://discuss.elastic.co/t/j ... 884/3

要回复问题请先登录注册