NeedQuickHelp: java.lang.NoSuchFieldError: LUCENE_7_3_1

I am upgrading from 6.1.3 to 6.3.0

I am trying to initialize:
SearchSourceBuilder ssb = new SearchSourceBuilder();

Getting this error on above line:

java.lang.NoSuchFieldError: LUCENE_7_3_1
	at org.elasticsearch.Version.<clinit>(
	at org.elasticsearch.common.logging.DeprecationLogger.<clinit>(
	at Source)
	at java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown Source)
	at java.util.concurrent.ThreadPoolExecutor$ Source)
	at Source)

This worked well with 6.1.3.

My bad. I had got 7.2.1 dependency on my classpath. Fixed it myself.

This topic was automatically closed 28 days after the last reply. New replies are no longer allowed.