# Import into IntelliJ failing after running gradle idea with Gradle 4.10.3

**URL:** https://discuss.elastic.co/t/import-into-intellij-failing-after-running-gradle-idea-with-gradle-4-10-3/156875
**Category:** Elasticsearch
**Created:** [November 15, 2018, 1:31pm UTC](https://discuss.elastic.co/t/import-into-intellij-failing-after-running-gradle-idea-with-gradle-4-10-3/156875 "2018-11-15T13:31:12Z")
**Posts on this page:** 2
**Page:** 1

<div class="post-metadata">

### Author: ![WOO\_CHEOL\_CHOI](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/woo_cheol_choi/32/11267_2.png) [@WOO\_CHEOL\_CHOI](https://discuss.elastic.co/u/WOO_CHEOL_CHOI)
#### Post date: [November 15, 2018, 1:31pm UTC](https://discuss.elastic.co/t/import-into-intellij-failing-after-running-gradle-idea-with-gradle-4-10-3/156875/1 "2018-11-15T13:31:12Z")

</div>

i run gradle assembly on cmd before importing into Intellij

[error message]

You must run gradle idea from the root of elasticsearch before importing into IntelliJ

Open File

[code]  
if (System.getProperty('idea.active') != null && ideaMarker.exists() == false) {

throw new GradleException('You must run gradle idea from the root of elasticsearch before importing into IntelliJ')

}

[log]  
org.gradle.initialization.ReportedException: org.gradle.internal.exceptions.LocationAwareException: Build file 'E:\cygwin64\home\socia\workspace\elasticsearch\build.gradle' line: 430

A problem occurred evaluating root project 'elasticsearch'.

[system info]  
ElasticSearch version: latest just clone 6db1a9e  
Gradle version: 4.10.3  
Java version: 11  
OS: windows 10

---

<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: [December 13, 2018, 1:31pm UTC](https://discuss.elastic.co/t/import-into-intellij-failing-after-running-gradle-idea-with-gradle-4-10-3/156875/2 "2018-12-13T13:31:16Z")

</div>

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