MissingMethodException after upgrading to Grails 2.2

After upgrading to Grails 2.2, I get this exception

Class: groovy.lang.MissingMethodException

Message:

No method signature: static org.codehaus.groovy.runtime.InvokerHelper.getVersion () is applicable for argument types :() values: []

The exception occurs only on index.gsp - how can I get rid of the error?

+7
source share
1 answer

After the upgrade, the version of Grails can no longer be restored using org.codehaus.groovy.runtime.InvokerHelper.getVersion() .

Open index.gsp and change the line labeled "Groovy version" to

<li>Groovy version: ${GroovySystem.getVersion()}</li>

to get rid of the error message.

+15
source

All Articles