IntelliJ cannot recognize groovy String

I use IDEA - 11.1.1 and gradle - gradle -1.0-milestone-9 (I also tried with candidate release 3) on Windows 7 (if that matters) After importing gradle porject, IDEA complains about the String object. I think I have something missing in grrovy setup. I also noted the main and test folders as sources and test resources, respectively. Am I missing something obvious?

enter image description here

+3
source share
3 answers

Most likely, the JDK is not configured correctly in IDEA. Go to File -> Project Structure -> Projectand check / correct Project SDK.

+6
source

Try checking your project and sdk module.

F4 " " SDK SDK Moduel

, .

0

IDEA , JDK.

gradle idea plugin IDEA gradle IDEA, , , . gradle IDEA gradle .

build.gradle, : https://gist.github.com/1580234

.

,

Jan

0

All Articles