Grails run-app在版本升级后退出而不启动服务器

时间:2012-03-19 01:12:14

标签: grails

我刚刚将我的grails应用程序从版本1.1.1升级到版本1.3.7,现在当我运行'run-app'目标时,它只是推送一些文件然后退出而没有错误,而不是启动应用服务器。我已经清理并重新编译了所有内容,但似乎没有任何东西可以使它工作。 run-app的输出如下:

Welcome to Grails 1.3.7 - http://grails.org/
Licensed under Apache Standard License 2.0
Grails home is set to: C:\SDKs\grails-1.3.7

Base Directory: C:\Users\User\Documents\IntelliJ\MediaServices\LectureRecordingControl\LectureRecordingControl
Resolving dependencies...
Dependencies resolved in 689ms.
Running script C:\SDKs\grails-1.3.7\scripts\RunApp.groovy
Environment set to development
    [copy] Copying 1 resource to C:\Users\User\Documents\IntelliJ\MediaServices\LectureRecordingControl\LectureRecordingControl
    [unjar] Expanding: C:\Users\User\Documents\IntelliJ\MediaServices\LectureRecordingControl\LectureRecordingControl\grails-shared-files.jar into C:\Users\User\Documents\IntelliJ\MediaServices\LectureRecordingControl\LectureRecordingControl
    [delete] Deleting: C:\Users\User\Documents\IntelliJ\MediaServices\LectureRecordingControl\LectureRecordingControl\grails-shared-files.jar
    [copy] Copying 1 resource to C:\Users\User\Documents\IntelliJ\MediaServices\LectureRecordingControl\LectureRecordingControl
    [unjar] Expanding: C:\Users\User\Documents\IntelliJ\MediaServices\LectureRecordingControl\LectureRecordingControl\grails-app-files.jar into C:\Users\User\Documents\IntelliJ\MediaServices\LectureRecordingControl\LectureRecordingControl
    [delete] Deleting: C:\Users\User\Documents\IntelliJ\MediaServices\LectureRecordingControl\LectureRecordingControl\grails-app-files.jar

此时脚本终止,退出代码为0,就好像这正是发生的那样。

在编译期间,有一些弃用警告,但没有任何看起来好像应该导致失败。我不认为这是一个插件相关的问题,但为了以防万一,这个项目中活跃的插件是:

  • 馈送-1.5
  • filterpane-0.7
  • 冬眠-1.1.1
  • LDAP-0.8.2
  • 邮件0.7.1
  • modalbox-0.3
  • 导航-1.0.4
  • 石英0.4.1
  • richui-0.6

有谁知道可能导致此问题的原因是什么?我找不到任何关于从1.1.1直接升级到1.3.7的信息,或许我应该先转到某个中间版本?

0 个答案:

没有答案