Frage

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.

War es hilfreich?

Lösung

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).

Lizenziert unter: CC-BY-SA mit Zuschreibung
Nicht verbunden mit StackOverflow
scroll top