试图从run-app(工作正常,完全没有问题)转移到在Tomcat上运行.然而,当我们运行grails test war的Building 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.
猜猜我午饭后会建造那个文件?
| 归档时间: |
|
| 查看次数: |
4288 次 |
| 最近记录: |