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 verboseCompi
Even if nothing's actually wrong, with a large project it can take a long time to download all your dependencies (especially if you clear your Ivy cache as per this answer).
Observe your Ivy cache directory (e.g. with watch ls ~/.grails/ivy-cache
); if things are working correctly, you should see dependencies gradually being downloaded/installed there.
If things aren't working correctly (e.g. nothing's appearing there, or a few things appear and then the downloads seem to stop) Usman's verbose logging is probably the way to go.
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'
...
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.