2
votes

I'm using Groovy/Grails Tool Suite 3.2.0.RELEASE, Grails 2.2.2 and Groovy Compiler 2.0.

When I try to run an app I get the following error: Error executing script RunApp: org/apache/ivy/plugins/resolver/ChainResolver

Can anyone help me?

Best regards.

1
are you using ivy? If yes, do you have ivy dependencies in your BuildConfig.groovy? - rimero
Hi rimero, I think I found the cause of this issue. Message: Error mapping onto view [/index]: Error evaluating expression [org.codehaus.groovy.runtime.InvokerHelper.getVersion()] on line [90]: groovy.lang.MissingMethodException: No signature of method: static org.codehaus.groovy.runtime.InvokerHelper.getVersion() is applicable for argument types: () values: [] So, deleting line 90, it works. It seems the method to get Groovy version is missing. I don't know if i'm using ivy. I'll try to find it. It happens with new created projects using the wizard tool. King regards. - isma.imc
I ckecked the project and there are not Ivy dependencies. Regards. - isma.imc
Please see my updated answer - rimero

1 Answers

3
votes

UPDATED

Check your index.gsp file and remove the line showing the Groovy version.

org.codehaus.groovy.runtime.InvokerHelper.getVersion has changed to GroovySystem.getVersion in newer Groovy builds bundled in Grails.

Initially I would have said that you upgraded projects from previous Grails versions.

  1. Install a new version of Grails
  2. Update the application.properties file
  3. Run grails upgrade
  4. Create a new blank project and compare the BuildConfig.groovy to see if a dependency needs upgrading.

I think that the index.gsp modification will do it. If not, please add details about the actions that you're taking and when the error occurs(stacktrace will also be needed).