该项目运行良好,但突然在启动时挂起,没有任何错误。
Run-App --verbose --stacktrace 给出这个打印:
grails> run-app --verbose --stacktrace
| Running application...
> Configuring > 0/1 projects > root project > Resolving dependencies ':classpath> Configuring > 1/1 projects > Resolving dependencies ':agent' > Resolving depen> Configuring > 1/1 projects > Resolving dependencies ':agent' > Resolving depen:compileJava UP-TO-DATE
:compileGroovy UP-TO-DATE
:buildProperties UP-TO-DATE
:processResources UP-TO-DATE
:classes UP-TO-DATE
:findMainClass
:bootRun
2017-04-18 14:20:47.410 ERROR --- [ main] g.boot.config.tools.ClassPathScanner : The application defines a Groovy source using the default package. Please move all Groovy sources into a package.
> Building 85% > :bootRun
Configuring Spring Security Core ...
... finished configuring Spring Security Core
> Building 85% > :bootRun
Configuring Spring Security UI ...
... finished configuring Spring Security UI
> Building 85% > :bootRun
看不到怎么回事。我试图清理构建目录,但这没有帮助。
自工作会议以来唯一改变的是我添加了一些 GSP 文件。但不能认为它会挂起启动,不是吗?