如何获取关于Grails应用程序的更多信息坚持配置classpath阶段? [英] How to get more info on Grails app stuck in Configuring classpath stage?

查看:88
本文介绍了如何获取关于Grails应用程序的更多信息坚持配置classpath阶段?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我正在运行一个Grails应用程序,它仅仅停留在配置类路径阶段,有什么方法可以获得关于发生什么的更多信息?我尝试了 verboseCompile 切换无效。

  grails run-app --verboseCompile 
|配置classpath


解决方案

寻找 BuildConfig.groovy 文件( /AppName/grails-app/conf/BuildConfig.groovy ),然后找到 log 参数并将其设置为 verbose

  grails.project.dependency.resolution = {
...
logverbose//常春藤解析器的日志级别,包括'error','warn','info','debug'或'verbose'
...


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

解决方案

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'
...

这篇关于如何获取关于Grails应用程序的更多信息坚持配置classpath阶段?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆