# While compile my application using gradle, it gives error 'package org.elasticsearch.common.io.stream does not exist'

**URL:** <https://discuss.elastic.co/t/while-compile-my-application-using-gradle-it-gives-error-package-org-elasticsearch-common-io-stream-does-not-exist/293020>\
**Category:** Elasticsearch\
**Created:** [December 28, 2021, 7:19am UTC](https://discuss.elastic.co/t/while-compile-my-application-using-gradle-it-gives-error-package-org-elasticsearch-common-io-stream-does-not-exist/293020 "2021-12-28T07:19:36Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![Arqam](https://avatars.discourse-cdn.com/v4/letter/a/71c47a/32.png) [@Arqam](https://discuss.elastic.co/u/Arqam)\
**Post date:** [December 28, 2021, 7:19am UTC](https://discuss.elastic.co/t/while-compile-my-application-using-gradle-it-gives-error-package-org-elasticsearch-common-io-stream-does-not-exist/293020/1 "2021-12-28T07:19:36Z")

</div>

Hi all, I'm new to java/gradle/Elasticsearch/application(crate-db). I am trying to create a development setup of CRATE-DB application. But when I am compiling the application by `./gradlew compilejava` command it is returning error as below:

```auto
/home/crate/crate-3.0.5/core/src/main/java/io/crate/Build.java:24: error: package org.elasticsearch.common.io.stream does not exist
import org.elasticsearch.common.io.stream.StreamInput;
                                         ^
/home/crate/crate-3.0.5/core/src/main/java/io/crate/Build.java:25: error: package org.elasticsearch.common.io.stream does not exist
import org.elasticsearch.common.io.stream.StreamOutput;
.
.
.
> Task :core:compileJava FAILED

FAILURE: Build failed with an exception.

* What went wrong:
Execution failed for task ':core:compileJava'.
> Compilation failed with exit code 1; see the compiler error output for details.

```

Can you please suggest how can I resolve the above issue? It will help me alot.  
Thanks:)

---

<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:** [January 25, 2022, 7:20am UTC](https://discuss.elastic.co/t/while-compile-my-application-using-gradle-it-gives-error-package-org-elasticsearch-common-io-stream-does-not-exist/293020/2 "2022-01-25T07:20:08Z")

</div>

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