我下载了一个名为GrailsChat的serverpush示例,尝试在grails 2.4.4上运行。
我遇到了一些缺少依赖项的问题,这使我花了一些时间来弄清楚(不认为这是相关的,只是提到它)。
当我运行grails run-app时,我得到:
| Application metadata not found, please run: grails upgrade
当我运行grails升级时,我得到
| Script 'Upgrade' not found, did you mean:
1) MigrateDocs
2) IntegrateWith
3) SetGrailsVersion
4) InstallDependency
5) DependencyReport
> Please make a selection or enter Q to quit:
我认为问题可能与grails版本有关,我比示例应用程序针对的grails版本要新,但我不想仅仅为了运行示例而移回版本(我宁愿了解基本问题)。
谁能指出我一些文档,这些文档将帮助我了解应用程序元数据是什么以及如何向前发展?
最佳答案
Grails Upgrade command在2.4中已删除。您可能必须按照指南手动升级应用程序。
或者,您也可以运行服务包装程序,该服务包装程序将根据该应用程序自动下载grails版本。./grailsw run-app
关于grails - Grails运行应用程序 'Application metadata not found',我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/27427261/