Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

IntelliJ unable to recognize groovy String

I am using IDEA - 11.1.1 and gradle - gradle-1.0-milestone-9 (I tried with release candidate 3 also) on windows-7 (if this matters) After importing gradle porject, IDEA complains about String object. I think I am missing something about grrovy configuration. I have also marked - main and test folder as Sources and Test Resources respectively. Did I miss something obvious?

enter image description here

like image 562
Tarun Avatar asked Feb 20 '23 13:02

Tarun


1 Answers

Most likely the JDK isn't set correctly in IDEA. Go to File -> Project Structure -> Project and check/fix Project SDK.

like image 124
Peter Niederwieser Avatar answered Mar 12 '23 19:03

Peter Niederwieser