# Elastic search build failed!

**URL:** https://discuss.elastic.co/t/elastic-search-build-failed/372799
**Category:** Elastic Search
**Created:** [January 5, 2025, 1:51am UTC](https://discuss.elastic.co/t/elastic-search-build-failed/372799 "2025-01-05T01:51:23Z")
**Posts on this page:** 3
**Page:** 1

<div class="post-metadata">

### Author: ![Hu\_Ansir](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/hu_ansir/32/140230_2.png) [@Hu\_Ansir](https://discuss.elastic.co/u/Hu_Ansir)
#### Post date: [January 5, 2025, 1:51am UTC](https://discuss.elastic.co/t/elastic-search-build-failed/372799/1 "2025-01-05T01:51:23Z")

</div>

Elasticsearch version : 7.14.2

when I run ./gradlew idea in mac os, it has some error

FAILURE: Build failed with an exception.

- Where:  
Build file '/Users/simba.hu/learn/elastic-search/source/elasticsearch/benchmarks/build.gradle' line: 31

- What went wrong:  
A problem occurred evaluating project ':benchmarks'.

> Project with path ':modules:lang-expression' could not be found in project ':benchmarks'.

- Try:  
Run with --stacktrace option to get the stack trace. Run with --info or --debug option to get more log output. Run with --scan to get full insights.

BUILD FAILED in 4s  
19 actionable tasks: 19 up-to-date

---

<div class="post-metadata">

### Author: ![carly.richmond](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/carly.richmond/32/104935_2.png) [@carly.richmond](https://discuss.elastic.co/u/carly.richmond)
#### Post date: [January 6, 2025, 12:40pm UTC](https://discuss.elastic.co/t/elastic-search-build-failed/372799/2 "2025-01-06T12:40:22Z")

</div>

Hi @Hu_Ansir,

Welcome! It looks like you're running an old version. Do you receive the same error running the latest 7.17.x?

Can you share the stacktrace and the version of Java you are running the project with?

---

<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 3, 2025, 12:40pm UTC](https://discuss.elastic.co/t/elastic-search-build-failed/372799/3 "2025-02-03T12:40:58Z")

</div>

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