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

**URL:** <https://discuss.elastic.co/t/java-lang-noclassdeffounderror-org-elasticsearch-index-query-querybuilder/191311>\
**Category:** Elasticsearch\
**Created:** [July 19, 2019, 5:17am UTC](https://discuss.elastic.co/t/java-lang-noclassdeffounderror-org-elasticsearch-index-query-querybuilder/191311 "2019-07-19T05:17:35Z")\
**Posts on this page:** 1\
**Showing post:** 2

<div class="post-metadata">

**Author:** ![dadoonet](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/dadoonet/32/137187_2.png) [@dadoonet](https://discuss.elastic.co/u/dadoonet)\
**Post date:** [July 19, 2019, 10:07am UTC](https://discuss.elastic.co/t/java-lang-noclassdeffounderror-org-elasticsearch-index-query-querybuilder/191311/2 "2019-07-19T10:07:48Z")

</div>

Welcome!

Could you please:

- [read this](https://discuss.elastic.co/t/about-the-elasticsearch-category/21) about how to format properly your code and why it's important
- provide a `pom.xml` file which can help to reproduce your problem

---

_[View the full topic](https://discuss.elastic.co/t/java-lang-noclassdeffounderror-org-elasticsearch-index-query-querybuilder/191311)._
