Grails 2.5.5 in Eclipse with Groovy Compiler 2.4.12 throws Refresh Dependencies error -


i have installed grails 2.5.5 in eclipse ggts (3.6.4.release) , have added groovy compiler feature 2.4.12. importing existing projects workspace.

before updating compiler, refresh dependencies (on new project) worked without problems. now, when run refresh dependencies (alt+g,r), throws error. looking guidance resolve issue. log shows following

!entry org.grails.ide.eclipse.core 4 0 2017-07-25 18:43:19.426 !message refresh dependecies failed !stack 0 java.lang.noclassdeffounderror: org/codehaus/groovy/frameworkadapter/util/specifiedversion @ org.grails.ide.eclipse.commands.groovycompilerversioncheck.getrequiredgroovyversion(groovycompilerversioncheck.java:63) @ org.grails.ide.eclipse.commands.groovycompilerversioncheck.getrequiredgroovyversion(groovycompilerversioncheck.java:57) @ org.grails.ide.eclipse.commands.groovycompilerversioncheck.check(groovycompilerversioncheck.java:50) @ org.grails.ide.eclipse.commands.grailscommandutils.refreshdependencies(grailscommandutils.java:327) @ org.grails.ide.eclipse.core.internal.classpath.grailsclasspathcontainerupdatejob.runinworkspace(grailsclasspathcontainerupdatejob.java:89) @ org.eclipse.core.internal.resources.internalworkspacejob.run(internalworkspacejob.java:38) @ org.eclipse.core.internal.jobs.worker.run(worker.java:54) 

background

this issue present in specific version of groovy-eclipse plugin. far know issue present in groovy-eclipse v2.9.2.xx-201707260047-e44 (groovy compiler v2.4.12).

since the issue has ben reported , fixed.

solution

to solve problem update groovy-eclipse plugin v2.9.2.xx-201707311844-e44 or newer:

  • in help menu select install new software
  • select or add source http://dist.springsource.org/snapshot/greclipse/e4.4/ in work with field
  • in groovy compilers category select groovy compiler 2.4 item
  • clic next , proceed update
  • restart ggts apply changes

Comments

Popular posts from this blog

node.js - Node js - Trying to send POST request, but it is not loading javascript content -

javascript - Replicate keyboard event with html button -

javascript - Web audio api 5.1 surround example not working in firefox -