Grails构建war文件失败,没有任何迹象表明原因

ido*_*son 5 grails

试图从run-app(工作正常,完全没有问题)转移到在Tomcat上运行.然而,当我们运行grails test warBuilding War File...步骤失败.

这是控制台输出,我不知道如何强制它告诉我构建的问题.

Loading Grails 2.2.0
| Configuring classpath.
| Environment set to test.....
| Packaging Grails application.....
| Compiling 1 source files.....
| Compiling 33 GSP files for package [infogriz]..
| Compiling 5 GSP files for package [debug].
| Compiling 4 GSP files for package [databaseMigration]..
| Building WAR file.....
Run Code Online (Sandbox Code Playgroud)

弹出窗口打开,'grails test war' has encountered a problem. Problem executing: test war.真有用.

"详细信息"按钮为此提供了更多详细信息.

Problem executing: test war --stacktrace --verbose
Command terminated with an error code (see details for output)
------System.out:-----------
Loading Grails 2.2.0
| Configuring classpath.
| Environment set to test.....
| Packaging Grails application.....
| Compiling 2 source files.....
| Compiling 33 GSP files for package [infogriz]..
| Compiling 5 GSP files for package [debug].
| Compiling 4 GSP files for package [databaseMigration]..
| Building WAR file.....
------System.err:-----------
Run Code Online (Sandbox Code Playgroud)

有任何想法吗?我尝试添加--stacktrace,但它仍然没有告诉我为什么它失败了.

编辑.

由于Ian的评论,从命令行运行.新错误是:

`| Error Error executing script War: : c:\Users\me\git\infogriz\grails -app\migrations does not exist.

猜猜我午饭后会建造那个文件?

rim*_*ero 6

我有一次错误,我通过在预期位置创建迁移文件夹来修复它...

您可能最近更新到了较新版本的Grails,或者您使用的Grails版本比项目属性中配置的Grails版本更新.