peterp
peterp

Reputation: 3121

MissingMethodException after upgrading to Grails 2.2

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?

Upvotes: 7

Views: 1631

Answers (1)

peterp
peterp

Reputation: 3121

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.

Upvotes: 16

Related Questions