要不要也来分享分享一下啊

Elasticsearch 集成spring boot ,在启动项目时报错

Elasticsearch | 作者 zeeb | 发布于2017年09月27日 | 阅读数:5907

adding transport node : localhost:9300
2017-09-27 21:51:24.934 ERROR 592 --- [ restartedMain] .d.e.r.s.AbstractElasticsearchRepository : failed to load elasticsearch nodes : org.elasticsearch.index.mapper.MapperParsingException: No type specified for field [blogId]
已邀请:

Creamice

赞同来自:

是不是你的索引里面没有叫blogId的,看一下索引的mapping

要回复问题请先登录注册