Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How to get more info on Grails app stuck in Configuring classpath stage?

Tags:

grails

I am running a Grails application and it just gets stuck in the Configuring class path stage, Is there any way to get more info on whats going on? I tried the verboseCompile switch to no avail.

grails run-app --verboseCompile  
| Configuring classpath
like image 281
Usman Ismail Avatar asked Mar 22 '12 15:03

Usman Ismail


People also ask

How do I cancel my grails application?

1.2 If you want to stop your server (and app), you can, at the grails prompt, enter 'stop-app', which will stop the server and app.

How do you run commands in grails?

Running a Grails Application Using run-app Go to the application directory. For example, go to the as-install /grails/samples/helloworld directory. Run the grails run-app command. The grails run-app command starts the Enterprise Server in the background and runs the application in one step.

How do you build grails app?

Go to start.grails.org and use the Grails Application Forge to generate your Grails project. You can choose your project type (Application or Plugin), pick a version of Grails, and choose a Profile - then click "Generate Project" to download a ZIP file. No Grails installation necessary!


2 Answers

If you are not seeing any output after setting Log level to verbose, it is probably because your grails.project.dependency.resolver parameter is still set to maven. Set it to ivy and check again.

like image 32
acmoune Avatar answered Sep 28 '22 07:09

acmoune


Look for the BuildConfig.groovy file here (/AppName/grails-app/conf/BuildConfig.groovy) and then find the log parameter and set it to verbose.

grails.project.dependency.resolution = {
...
log "verbose" // log level of Ivy resolver, either 'error', 'warn', 'info', 'debug' or 'verbose'
...
like image 95
Usman Ismail Avatar answered Sep 28 '22 06:09

Usman Ismail