I downloaded the latest IDEA for Linux to try it out for editing Groovy scripts, but I've run into an immediate problem which I'm sure is trivial but I can't see what I'm doing wrong. I have a script 'page.groovy', and when I try to run it, a 'page.java' window pops up with the error message "package groovy.lang does not exist". I'm puzzled why this should be, as I've installed the JetGroovy plugin and configured Groovy, and I can see GROOVY as a global library when I look at the project settings.
I am a complete newbie to IDEA and JetGroovy, so it may be something simple I've missed. Keen to know what it is, though.