STS 2.9.1 & Grails
I have downloaded the latest STS zip and unzipped.
I then try to add the grails extension and get the following error
Cannot complete the install because one or more required items could not be found.
Software being installed: SpringSource Tool Suite Grails Support 220.127.116.11203221000-RELEASE (com.springsource.sts.grails.feature.group 18.104.22.168203221000-RELEASE)
Missing requirement: SpringSource Tool Suite Grails Support (Core) 22.214.171.124203221000-RELEASE (com.springsource.sts.grails.core 126.96.36.199203221000-RELEASE) requires 'bundle org.codehaus.groovy.eclipse.core 0.0.0' but it could not be found
Cannot satisfy dependency:
From: SpringSource Tool Suite Grails Editor Support (Core) 188.8.131.52203221000-RELEASE (com.springsource.sts.grails.editor.groovy 184.108.40.206203221000-RELEASE)
To: bundle com.springsource.sts.grails.core 0.0.0
Cannot satisfy dependency:
From: SpringSource Tool Suite Grails Support 220.127.116.11203221000-RELEASE (com.springsource.sts.grails.feature.group 18.104.22.168203221000-RELEASE)
To: com.springsource.sts.grails.editor.groovy [22.214.171.124203221000-RELEASE]
Anyone any ideas?
Did you checked MD5 sums of STS downloaded version?
Can you check list of update sites? (just post it here if you do not know proper)
Can you add info about your OS and java version?
I have tried again on onother PC and get the same error
Download URL http://download.springsource.com/rel....7.2-win32.zip
Windows XP SP3
Update Site - SpringSource Update Site for Eclipse 3.7 - http://dist.springsource.com/release/TOOLS/update/e3.7
I think you need to install the Groovy Eclipse support. I think the error shows that the Grails tools are not able to find the Groovy Eclipse components that they require.
You can install Groovy Eclipse from the extensions page.
This is the telling bit of the error message:
126.96.36.199203221000-RELEASE) requires 'bundle org.codehaus.groovy.eclipse.core 0.0.0' but it could not be found
(Yes those errors can be rather confusing, a lot of garbage text and a bit of guess work needed to figure out which part of this text is the actual problem :-)
I wondered if that was the problem but the option to install Groovy is not there. See attached screenshot.
I would also have expected that requesting the install of the Grails extension would have resolved and installed the required dependencies.
That is not the extensions page I was referring to. This is the Eclipse UI for installing things via update site. That works also of course.
You are correct, the Eclipse installer will try to find the things you need (dependencies), but it will not be able to find Groovy Eclipse unless you have added an update site that contains Groovy Eclipse.
The "Extensions Page" that I was referring to is found on the STS Dashboard. The Dashboard usually opens automatically when you start STS. It has some 'news items' and things like that on it. At the bottom of that page is a Tab labeled 'Extensions'. If you click that tab you should be able to find Groovy Eclipse there.
If you rather install from an update site manually (actually the Dashboard will really do the same anyway), you can use this update site to install Greclipse:
Thanks for the help. This worked as you suggested.
I also found that adding THIS update site, resolved the grails upgrade issue in STS 2.9.2 that I had
I fixed the composite update site that we use to point to the correct Mylyn version so that you don't need to add this specific Mylyn weekly snapshot site yourself. Sorry for the inconvenience, should work again out-of-the-box.
And thanks for pointing us to this problem!!!