IntelliJ groovy issues


I am quite new to IntellJ and groovy so I apologize if my question is elementary.
After adding the groovy and grails modules to my project I attempt to create a
New > Groovy Class.

When I try to create the class the idea tells me that the class already exists.
Sure enough I look in my project hierarchy and it's added a blue icon with the same name as my new groovy class?

What am I missing?

Thank you

Comment actions Permalink


You should probably ask this in the JetGroovy forum:

Randall Schulz

Comment actions Permalink

Probably you have created a script, with in it a class with the same name. This is not possible, and you could (should) rename the script to something like ]]>Script.groovy


Please sign in to leave a comment.