-
Feb 17th, 2010, 02:28 PM
#1
java.lang.NoClassDefFoundError on Grails Run-App
I get the following error when I execute run-app from within STS 2.3. The "Envinronment" tab has the GRAILS_HOME correctly defined. By the error message it seems like the path is getting mangled somehow.
The really strange thing is that this used to work for me in STS 2.3 and then suddenly one day it stopped. Not sure what happened. Any clues?
java.lang.NoClassDefFoundError: Files\\springsource\\grails-1/2/1\\
Caused by: java.lang.ClassNotFoundException: Files\\springsource\\grails-1.2.1\\
at java.net.URLClassLoader$1.run(URLClassLoader.java: 200)
at java.security.AccessController.doPrivileged(Native Method)
at java.net.URLClassLoader.findClass(URLClassLoader.j ava:188)
at java.lang.ClassLoader.loadClass(ClassLoader.java:3 07)
at sun.misc.Launcher$AppClassLoader.loadClass(Launche r.java:301)
at java.lang.ClassLoader.loadClass(ClassLoader.java:2 52)
at java.lang.ClassLoader.loadClassInternal(ClassLoade r.java:320)
Exception in thread "main"
Tags for this Thread
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