May 20th, 2012, 08:00 PM
grails dsl-support and plugin_dsld_support build path problems
Sorry if this is something easy. I've search for a few hours and haven't found anything, but it's probably something obvious I'm missing.
This has been happening to me consistently when creating a new grails project in STS.
Every time I create a new grails project in STS, I end up with 2 Java Build Path Problems.
The container 'Grails Dependencies' references non existing library 'C:\athockey\tools\sts-2.9.1.RELEASE\plugins\com.springsource.sts.grails. resources_188.8.131.52203221000-RELEASE\dsl-support\'
The container 'Groovy DSL Support' references non existing library 'C:\athockey\tools\sts-2.9.1.RELEASE\plugins\org.codehaus.groovy_1.8.6.xx-20120301-1000-e37-RELEASE\plugin_dsld_support\'
(see attached image)
Java: 1.7.0_03 64-Bit
OS: Windows 7 Home Premium
STS/Grails-plugin: Version: 2.9.1.RELEASE - Build Id: 201203221000
Groovy-eclipse-plugin: Version: 2.6.1.xx-20120301-1000-e37-RELEASE
What am I missing here?
May 22nd, 2012, 11:44 AM
It looks like the folders do not exist. Have a look at your filesystem and see if these folders exist:
There is a chance that you will see something like this instead:
If this is the case, then your installation is incorrect. These bundles should be exploded (ie- unzipped) in your plugins folder. If this is the case, then you will need to reinstall. Regardless, it looks like something is wrong with your installation, so that would probably be a good thing to do anyway.
May 24th, 2012, 02:30 PM
Thanks for the insight, I'll check it out when I get home tonight.
I do seem to remember that the directories did exist, but were empty. ...don't take that as gospel because it's been a few days now and I need to double check.
My installation process was as follows.
1. download/unzip sts (zip install, not exe)
2. open sts, select grails and groovy estensions
3. re-boot eclipse when installation is complete
4. create new grails project
You said, "there is a chance I'll see jar files" ...what case would that be?
I repeated this installation process multiple times in as much of a clean-room style as I could and still had the same result. Is it possible the zip installation of sts has something to do with it?
May 24th, 2012, 02:55 PM
Sometimes people try to install by downloading a zip of the update site and copying the plugins and features into their Eclipse/STS installation. This won't work since the update site stores all of the plugins as jars, but they need to be exploded before they can be installed.
Originally Posted by mnebus
I don't know how these directories could be empty since all the install process does is downloads the jar and extracts the contents to your install location.
I have also seen situations where being behind a firewall causes some wackiness (but usually this corresponds to not being able to download at all).
I have also seen situations where installing into a read-only location causes problems. But again, the problem tends to manifest differently. ie- not being able to run the patched JDT compiler.
You could also try installing from the nightly update site:
Add this to the work with section of Help -> Install new software... This may help, but only if the problem is with our update site (which is doubtful since no one else has reported this problem, but it may be worth a try).
Aug 14th, 2012, 04:58 AM
I got the same issue with Mike, and saw the following errors every time creating a new Grails project:
The container 'Grails Dependencies' references non existing library 'D:\SWAT\ggts-3.0.0-64bit\springsource\ggts-3.0.0.RELEASE\plugins\org.grails.ide.eclipse.resou rces_184.108.40.206208091000-RELEASE\dsl-support\'
The container 'Groovy DSL Support' references non existing library 'D:\SWAT\ggts-3.0.0-64bit\springsource\ggts-3.0.0.RELEASE\plugins\org.codehaus.groovy_1.8.6.xx-20120720-1100-e42\plugin_dsld_support\'
I can make sure the above 2 directories exist, please also see the screenshot.Attachment 5098
I'm using the latest GGTS zip package, and then install the m2e plugin, detail as below:
Groovy/Grails Tool Suite x86_64bit
Build Id: 201208091018
jvm C:/Program Files/Java/jdk1.6.0_25/bin/javaw.exe
thanks for your attention
Aug 14th, 2012, 10:14 AM
Can you be more specific? Exactly which folder is missing? Is it org.codehaus.groovy_1.8.6.xx-20120720-1100-e42 or plugin_dsld_support?
Do you have a org.codehaus.groovy_1.8.6.xx-20120720-1100-e42.jar file in the plugins folder? If yes, then this implies that groovy-eclipse is not installed properly and that you may have unzipped the update site instead of installed it through the update manager.
Aug 14th, 2012, 08:32 PM
thanks for your prompt reply, actually both folders are missing as per GGTS error logs, but in fact these 2 folders are right there on my disk.
I also checked there's no org.codehaus.groovy_1.8.6.xx-20120720-1100-e42.jar nor org.grails.ide.eclipse.resources_220.127.116.1120809100 0-RELEASE.jar under plugins folders.
I downloaded GGTS zip package and then unzipped it, and I installed only M2E in dashboard/extensions, without installing any other plugins / extensions.
Is there any other clues? Thanks in advance.
Aug 14th, 2012, 10:29 PM
Just to be clear, do you see the plugins/org.codehaus.groovy_1.8.6.xx-20120720-1100-e42 and plugins/org.grails.ide.eclipse.resources_18.104.22.16820809100 0-RELEASE folders in your ggts installation?
If you are using the GGTS zip, then they should be there, but just trying to make sure since this is what the error you are getting is saying.
Another possibility is that there is an error earlier on in your startup that indirectly caused this problem. Can you attach the entire .log file from your workspace/.metadata folder?
Aug 15th, 2012, 01:08 AM
the above two folders are right there on my disk, with the urls as below:
I'm also attaching the .log file in zip below, kindly please check it out, thanks a lot!
Aug 16th, 2012, 08:31 PM
any idea on this? Thanks again.