
Originally Posted by
Christian Dupuis
Hi,
there are two things that might help to solve the problem:
* Configure your Grails installation from Preferences -> Groovy -> Grails (add at least one installation)
* Refresh the dependencies from the project context menu Grails Tools -> Refresh Dependencies
See
http://www.grails.org/STS+Integration for more details.
Christian
Thanks for this. I just added a grails instalation 'C:\grails-1.1.1' and now when I 'Refresh Dependencies' or start sts I get the below error.
I've also tried the deleting / reimporting project.
Code:
java.lang.NoClassDefFoundError: com/springsource/sts/grails/core/model/GrailsBuildSettings
Caused by: java.lang.ClassNotFoundException: com.springsource.sts.grails.core.model.GrailsBuildSettings
at java.net.URLClassLoader$1.run(URLClassLoader.java:200)
at java.security.AccessController.doPrivileged(Native Method)
at java.net.URLClassLoader.findClass(URLClassLoader.java:188)
at java.lang.ClassLoader.loadClass(ClassLoader.java:307)
at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:301)
at java.lang.ClassLoader.loadClass(ClassLoader.java:252)
at java.lang.ClassLoader.loadClassInternal(ClassLoader.java:320)