-
Aug 5th, 2010, 08:50 PM
#1
STS 2.3.2 Groovy editing broken after version change
Hi,
I've been using STS 2.3.2 to do some Grails development with deployment to Cloud Foundry. My first deployment attempt failed with an error message saying it couldn't find the class definition for org.groovy.transform.powerassert.ValueRecorder. A web search indicated this was due to using Groovy 1.7.1.
I changed the project settings to use Groovy 1.6.0. This restarted STS and I was able to recompile, re-war, upload, and deploy, but thereafter my STS wouldn't allow me to edit any Groovy file -- double clicking a Groovy file results in a dialog popping up with the error message
"An error has occurred.
org.codehaus.groovy.ast.ModuleNode.getStaticImport s()Ljava/util/Map;"
I'd appreciate any suggestions on how to solve this.
Thanks,
Peter
-
Aug 6th, 2010, 02:52 PM
#2
Hi Peter,
We are aware of some problems with 1.6 support in Groovy-Eclipse. Please see:
http://jira.codehaus.org/browse/GRECLIPSE-811
We have just released a new snapshot version of Groovy-Eclipse that should address your problems. Please use the following update site:
http://dist.codehaus.org/groovy/dist...snapshot/e3.6/
Also, please get back to us if this fixes things (or, of course, if it doesn't).
-
Aug 6th, 2010, 06:32 PM
#3
Thanks for the reply Andrew.
I did a normal Help -> Check for Updates which revealed at least 10 updates, including the Groovy-Eclipse Feature, so I applied them and that did the trick. I picked it up with the pre-existing update site: http://dist.codehaus.org/groovy/dist...snapshot/e3.5/
Peter
-
Aug 6th, 2010, 09:33 PM
#4
I wasn't aware that you were running on 3.5. I'm not sure if the changes have been backported to the 3.5 stream yet.
-
Aug 7th, 2010, 04:29 PM
#5
I had originally installed STS 2.3.1 and then upgraded it to 2.3.2. That was the version I was running when the problem arose.
-
Aug 7th, 2010, 04:47 PM
#6
OK. So please let me know if you continue to have any problems. I'll be doing a refresh of the 3.5 stream of Groovy-Eclipse next week and I can make sure that everything works for you.
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules