I am trying to create a grails 2.2.0 project using eclipse-jee-juno. It gives me an error
Groovy compiler level expected by the project does not match workspace compiler level. Project compiler level is: 1.8.X Workspace compiler level is 1.7.X Go to Project properties -> Groovy compiler to set the Groovy compiler level for this project.
Background: I have installed grails 2.2.0 and I am able to create and run a sample project/controller by using the command line (not eclipse)
Here are the steps that enabled me to run the application on grails 2.2.0.
Restart GGTS or Eclipse. Your GRAILS app should be up and running!
Grails 2.x need groovy 1.8+ to work. In eclipse, right click your project, select 'properties' from menu and go to Groovy compiler, select groovy version 1.8.xxxx. Or you can go to 'preference' menu and change the global setting for groovy compiler version.