I've been trying out the grails framework with the new idea and everything has gone well until I stalled the spring-security-core grails plugin. The plugin and project work fine when using grails compile/run-app/etc, however intellij idea (9) is no longer able to "make" the project, giving me an errors:
1. grails create-app my-app grails
2. install-plugin spring-security-core
3. import my-app as a grails project
4. click make
This produces errors similar to the following...
cannot find symbol variable ReflectionUtils
This error is repeated for several java class files that reference the ReflectionUtils groovy class file
org.codehaus.groovy.grails.plugins.springsecurity.ReflectionUtils which is in the same package, but found in the spring-security-core/src/groovy directory (as opposed to spring-security-core/src/java)
The IDE source parser seems to resolve things correctly, as there are no red marks littering the file, and the navigation finds the files correctly, but the "project make" is listing references to this groovy class from java classes as "can not find symbol" errors.
Does anyone have any advice on how to get the idea IDE to "make" the project without these invalid errors?
I tried changing the order of the plugin sources, and moving to idea 10, but these made no difference, and I can't think of anything else to try.