Grails 3 run-app在bootRun之后不会返回

时间:2015-05-05 22:35:17

标签: grails grails-3.0

我一直在使用Grails 3.0.1交互式控制台,当我输入" run-app"命令,我希望它启动服务器并返回提示符。相反,它做了类似的事情:

grails> run-app
> Configuring > 1/1 projects > Resolving dependencies ':agent' > Resolving dependencies ':versio
:compileJava UP-TO-DATE
> Building 16% > :compileGroovy > Resolving dependencies ':compile' > Resolving dependencies 'de
:compileGroovy UP-TO-DATE
:processResources
:classes
:findMainClass
> Building 83% > :bootRun > Resolving dependencies ':runtime' > Resolving dependencies 'detached:bootRun
Grails application running at http://localhost:8080
> Building 83% > :bootRun

此时系统会等到我按Ctrl-C。我以为系统会启动然后返回提示符。我错过了一些明显的东西吗我只需要等待它吗?

1 个答案:

答案 0 :(得分:0)

这是来自春季启动的inherited bug,现已修复,将在下一版本3.0.3中提供。