# How can I use SNAPSHOT version of elasticsearch-rest-high-level-client'

**URL:** https://discuss.elastic.co/t/how-can-i-use-snapshot-version-of-elasticsearch-rest-high-level-client/142534
**Category:** Elasticsearch
**Created:** [August 1, 2018, 10:13am UTC](https://discuss.elastic.co/t/how-can-i-use-snapshot-version-of-elasticsearch-rest-high-level-client/142534 "2018-08-01T10:13:56Z")
**Posts on this page:** 4
**Page:** 1

<div class="post-metadata">

### Author: ![Tomoyuki\_Saito](https://avatars.discourse-cdn.com/v4/letter/t/6a8cbe/32.png) [@Tomoyuki\_Saito](https://discuss.elastic.co/u/Tomoyuki_Saito)
#### Post date: [August 1, 2018, 10:13am UTC](https://discuss.elastic.co/t/how-can-i-use-snapshot-version-of-elasticsearch-rest-high-level-client/142534/1 "2018-08-01T10:13:56Z")

</div>

How can I use SNAPSHOT version of org.elasticsearch.client:elasticsearch-rest-high-level-client?  
What SNAPSHOT versions are available?

I used the maven repository [https://snapshots.elastic.co/maven/](https://snapshots.elastic.co/maven/) described in the following page: [https://www.elastic.co/guide/en/elasticsearch/client/java-rest/master/java-rest-high-getting-started-maven.html](https://www.elastic.co/guide/en/elasticsearch/client/java-rest/master/java-rest-high-getting-started-maven.html)

But, I could not manage to use SNAPSHOT versions.  
I'm using gradle for build.

Tried version 6.4.0-SNAPSHOT, but observed the following errors:

```auto
* What went wrong:
Execution failed for task ':server:kaptGenerateStubsKotlin'.
> Could not resolve all files for configuration ':server:compileClasspath'.
   > Could not resolve org.elasticsearch.client:elasticsearch-rest-high-level-client:6.4.0-SNAPSHOT.
     Required by:
         project :server
      > Could not resolve org.elasticsearch.client:elasticsearch-rest-high-level-client:6.4.0-SNAPSHOT.
         > inconsistent module metadata found. Descriptor: org.elasticsearch.client:rest-high-level:6.4.0-SNAPSHOT Errors: bad module name: expected='elasticsearch-rest-high-level
-client' found='rest-high-level'

```

---

<div class="post-metadata">

### Author: ![rjernst](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/rjernst/32/6363_2.png) [@rjernst](https://discuss.elastic.co/u/rjernst)
#### Post date: [August 9, 2018, 3:06am UTC](https://discuss.elastic.co/t/how-can-i-use-snapshot-version-of-elasticsearch-rest-high-level-client/142534/2 "2018-08-09T03:06:16Z")

</div>

Sorry for your troubles. I believe this will be fixed by [https://github.com/elastic/elasticsearch/pull/32731](https://github.com/elastic/elasticsearch/pull/32731).

---

<div class="post-metadata">

### Author: ![Tomoyuki\_Saito](https://avatars.discourse-cdn.com/v4/letter/t/6a8cbe/32.png) [@Tomoyuki\_Saito](https://discuss.elastic.co/u/Tomoyuki_Saito)
#### Post date: [August 10, 2018, 5:25am UTC](https://discuss.elastic.co/t/how-can-i-use-snapshot-version-of-elasticsearch-rest-high-level-client/142534/3 "2018-08-10T05:25:34Z")

</div>

Thank you! The issue has been resolved.

---

<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: [September 7, 2018, 5:25am UTC](https://discuss.elastic.co/t/how-can-i-use-snapshot-version-of-elasticsearch-rest-high-level-client/142534/4 "2018-09-07T05:25:34Z")

</div>

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