Grails not executing on IntelliJ (NoClassDefFoundError)
- by fabien7474
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?