After upgrading a Grails application from 2.2.0 to 2.2.1 I keep getting the following error when attempting to debug a Grails application from GGTS via Debug as... -> Grails
For me a compile from the grails command window did the trick
I had the same problem when running it through eclipse and what worked for me is to make the below changes Go to Project properties -> Groovy Compiler ->configure workspace settings . Uncheck the checkbox "Enable checking for mismatch between project and workspace groovy compiler levels"
I had the same problem, I went to Project properties -> Groovy Compiler ->configure workspace settings
and I clicked on the "Switch to" button that corresponded to one of the two versions in the error message.
I hope this will help
use mvn denpendency:tree to check your dependencies, maybe there exist version conflicts.
Currently (using Eclipse 2020-06, 4.16.0) none of the above solutions work any more.
This should add the default classpath containing your specified Groovy version as User Entry.
I had the same problem, I was picking up groovy-all 2.0.7 from GGTS and 2.0.8 from my grails project. To resolve the problem I removed the "Groovy Dependencies" library from the eclipse project.
Right click on project -> Properties -> Java Build Path -> Libraries (tab) -> Groovy Dependencies -> Remove