After upgrading to Grails 2.2, I get this exception
Class: groovy.lang.MissingMethodException
Message:
No signature of method: static org.codehaus.groovy.runtime.InvokerHelper.getVersion() is applicable for argument types: () values: []
The exception occurs on index.gsp only - how can I get rid of the error?
After the upgrade, the Grails version can no longer be retrieved using org.codehaus.groovy.runtime.InvokerHelper.getVersion()
.
Open index.gsp and change the line which says "Groovy version" to
<li>Groovy version: ${GroovySystem.getVersion()}</li>
to get rid of the error message.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With