疲劳是最舒适的枕头,努力工作吧。

ES2.4.2 jar包冲突

Elasticsearch | 作者 shandian811 | 发布于2017年11月22日 | 阅读数:2462

7/11/21 17:26:47 INFO elasticsearch.plugins: [Andreas von Strucker] modules , plugins , sites
Exception in thread "main" java.lang.NoSuchFieldError: FAIL_ON_SYMBOL_HASH_OVERFLOW
        at org.elasticsearch.common.xcontent.smile.SmileXContent.<clinit>(SmileXContent.java:46)
        at org.elasticsearch.common.xcontent.XContentFactory.contentBuilder(XContentFactory.java:124)
        at org.elasticsearch.action.support.ToXContentToBytes.buildAsBytes(ToXContentToBytes.java:62)
        at org.elasticsearch.action.search.SearchRequest.source(SearchRequest.java:250)
        at org.elasticsearch.action.search.SearchRequestBuilder.beforeExecute(SearchRequestBuilder.java:1027)
        at org.elasticsearch.action.search.SearchRequestBuilder.beforeExecute(SearchRequestBuilder.java:50)
        at org.elasticsearch.action.ActionRequestBuilder.execute(ActionRequestBuilder.java:86)
        at org.elasticsearch.action.ActionRequestBuilder.execute(ActionRequestBuilder.java:56)
 
网上查了说是jackson jar包冲突,maven排除了其他jackson包,es2.4.2引用了相关2.8.1包 还是报这个错呢,试了很多次了,求救!!!
已邀请:

shiyuan

赞同来自:

jackson包冲突了吧,
如果用的maven,看看这个命令的输出
mvn dependency:tree

novia - 1&0

赞同来自:

把你的pom文件提供下

要回复问题请先登录注册