# Compilation Errors

**URL:** <https://discuss.elastic.co/t/compilation-errors/6069>\
**Category:** Elasticsearch\
**Created:** [December 5, 2011, 5:50pm UTC](https://discuss.elastic.co/t/compilation-errors/6069 "2011-12-05T17:50:27Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![pulkitsinghal](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/pulkitsinghal/32/802_2.png) [@pulkitsinghal](https://discuss.elastic.co/u/pulkitsinghal)\
**Post date:** [December 5, 2011, 5:50pm UTC](https://discuss.elastic.co/t/compilation-errors/6069/1 "2011-12-05T17:50:27Z")

</div>

I was a bit surprised when ES downloaded the gradle binary required to  
run the build but that further validates how much thought and effort  
has been put behind making everything smooth ... kudos!

What is my motivation behind building from source? I want to get  
involved and understand the core in order to contribute some equally  
great features back to to the source 🙂

But something is off as I am seeing compilation problems like:  
elasticsearch/master/modules/elasticsearch/src/main/java/org/  
elasticsearch/common/Strings.java:24:  
package org.elasticsearch.common.trove.set.hash does not exist  
import org.elasticsearch.common.trove.set.hash.THashSet;  
...  
100 errors  
FAILURE: Build failed with an exception.  
\* What went wrong:  
Execution failed for task ':elasticsearch:compileJava'.  
Cause: Compile failed; see the compiler error output for details.

I did a vanilla clone of the master repo, but I've been known to make  
mistakes ... any suggestions on what a newbie might do differently to  
make this work?

---

<div class="post-metadata">

**Author:** ![pulkitsinghal](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/pulkitsinghal/32/802_2.png) [@pulkitsinghal](https://discuss.elastic.co/u/pulkitsinghal)\
**Post date:** [December 5, 2011, 6:13pm UTC](https://discuss.elastic.co/t/compilation-errors/6069/2 "2011-12-05T18:13:51Z")

</div>

Nevermind, I suppose where maven is involved, it is often best to  
simply retry 🙂  
The 2nd time it ran to completion, I don't know why it didn't complain  
about the missing download the 1st time ... _shrug_

Download [http://elasticsearch.googlecode.com/svn/maven/org/elasticsearch/es-trove/3.0.0/es-trove-3.0.0.jar](http://elasticsearch.googlecode.com/svn/maven/org/elasticsearch/es-trove/3.0.0/es-trove-3.0.0.jar)

Thanks!

- Pulkit

On Dec 5, 9:50 am, pulkitsinghal [pulkitsing...@gmail.com](mailto:pulkitsing...@gmail.com) wrote:

> I was a bit surprised when ES downloaded the gradle binary required to  
> run the build but that further validates how much thought and effort  
> has been put behind making everything smooth ... kudos!
> 
> What is my motivation behind building from source? I want to get  
> involved and understand the core in order to contribute some equally  
> great features back to to the source 🙂
> 
> But something is off as I am seeing compilation problems like:  
> elasticsearch/master/modules/elasticsearch/src/main/java/org/  
> elasticsearch/common/Strings.java:24:  
> package org.elasticsearch.common.trove.set.hash does not exist  
> import org.elasticsearch.common.trove.set.hash.THashSet;  
> ...  
> 100 errors  
> FAILURE: Build failed with an exception.  
> \* What went wrong:  
> Execution failed for task ':elasticsearch:compileJava'.  
> Cause: Compile failed; see the compiler error output for details.
> 
> I did a vanilla clone of the master repo, but I've been known to make  
> mistakes ... any suggestions on what a newbie might do differently to  
> make this work?

---

<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:** [July 6, 2017, 3:46am UTC](https://discuss.elastic.co/t/compilation-errors/6069/3 "2017-07-06T03:46:23Z")

</div>


