# java.lang.NoClassDefFoundError: org/elasticsearch/transport/client/PreBuiltTransportClient

**URL:** <https://discuss.elastic.co/t/java-lang-noclassdeffounderror-org-elasticsearch-transport-client-prebuilttransportclient/164126>\
**Category:** Elasticsearch\
**Created:** [January 14, 2019, 10:34am UTC](https://discuss.elastic.co/t/java-lang-noclassdeffounderror-org-elasticsearch-transport-client-prebuilttransportclient/164126 "2019-01-14T10:34:23Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![Shyju\_M](https://avatars.discourse-cdn.com/v4/letter/s/898d66/32.png) [@Shyju\_M](https://discuss.elastic.co/u/Shyju_M)\
**Post date:** [January 14, 2019, 10:34am UTC](https://discuss.elastic.co/t/java-lang-noclassdeffounderror-org-elasticsearch-transport-client-prebuilttransportclient/164126/1 "2019-01-14T10:34:23Z")

</div>

I have created the below sample JAVA spring boot maven application with elasticsearch which is working perfectly.

> **[shyjuzz/elasticsearch](https://github.com/shyjuzz/elasticsearch/tree/master/elastic-example)**
>
> ELK stack elarning items. Contribute to shyjuzz/elasticsearch development by creating an account on GitHub.

I have tried to integrate the same to an existing project using the jar files but it is throwing the exception java.lang.NoClassDefFoundError: org/elasticsearch/transport/client/PreBuiltTransportClient on runtime.

```
elasticsearch-6.0.0.jar
transport-6.0.0.jar

```

Any help is appreciated

---

<div class="post-metadata">

**Author:** ![system](https://us1.discourse-cdn.com/elastic/original/3X/1/a/1ac57faf039f6b580b3f104ef42a2a89e41014de.png) [@system](https://discuss.elastic.co/u/system)\
**Post date:** [February 11, 2019, 10:34am UTC](https://discuss.elastic.co/t/java-lang-noclassdeffounderror-org-elasticsearch-transport-client-prebuilttransportclient/164126/2 "2019-02-11T10:34:26Z")

</div>

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