I am moving from Elasticsearch 2.3.1 to 5.2.2 but getting some error in my java code

error: cannot find symbol
[Error] method settingsBuilder()
[ERROR] location: class Settings

Any help will be greatly appreciated. :slight_smile:

Moving what? Java app?

May be share your code?

FWIW you should read the Java API documentation which tells how to build a Java transport client for new versions.

@dadoonet thanks for looking into this. I am able to fix it now. I was not properly using 5.2.2 java API while upgrading.

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