java.lang.NoClassDefFoundError: org/elasticsearch/index/query/QueryBuilder

Welcome!

Could you please:

  • read this about how to format properly your code and why it's important
  • provide a pom.xml file which can help to reproduce your problem