Grails not executing on IntelliJ (NoClassDefFoundError)
Posted
by fabien7474
on Stack Overflow
See other posts from Stack Overflow
or by fabien7474
Published on 2010-04-11T07:07:12Z
Indexed on
2010/04/11
7:13 UTC
Read the original article
Hit count: 386
Hi,
I have upgraded my application from grails 1.2.2 to 1.3.1-RC1. While things seem to work when executing grails from command prompt, I cannot make it run from my IDE IntelliJ (last development version).
The error I got is:
Error executing script RunApp: net/sf/json/JSONException
...
Caused by: java.lang.ClassNotFoundException: net.sf.json.JSONException
It seems that the library json-lib.jar
is not in the IntelliJ classpath.
Do you know how can I solve this?
© Stack Overflow or respective owner