Osama Sbieh
Osama Sbieh

Reputation: 255

Grails 2.3.0 Not Running

I have Grails 2.3.0, and when I run the command run-app I get this message:

> | Error Error executing script RunApp:
> _GrailsClasspath_groovy$_run_closure1 (Use --stacktrace to see the full trace)

Upvotes: 5

Views: 2664

Answers (5)

Pascal DeMilly
Pascal DeMilly

Reputation: 731

Do a grails clean first. followed by a grails compile and finally grails --stacktrace --verbose run-app

Also make sure you copied the new BuildConfig into your conf directory. I had problems until I did that. The file has a lot of new config that can affect the way things are run

Hope that helps

Upvotes: 0

dumorango
dumorango

Reputation: 136

Do not work for me. I had to delete the ~/.grails/$version/projects/$projectName/scriptCache directory files.

And execute grails clean, before execute grails run-app again.

Upvotes: 3

Farouk
Farouk

Reputation: 91

What worked for me is to totally empty the .grails directory under my home directory

Upvotes: 1

jstricker
jstricker

Reputation: 2180

I ran into this issue with GGTS 3.4.0 and Grails 2.3.1. Following these steps resolved it for me:

  1. Delete <workspace>\ggts-3.4.0.RELEASE\.metadata\.plugins\org.grails.ide.eclipse.core\2.3.1\.slcache
  2. Run clean
  3. Run run-app

Upvotes: 1

akn
akn

Reputation: 3722

  1. Delete target folder from your app directory.
  2. delete .grails/.slcache folder (is in your /home).
  3. Try grails run-app again.

Upvotes: 14

Related Questions