无法开始运行本地Grails应用程序 [英] Can't start running a local Grails app
本文介绍了无法开始运行本地Grails应用程序的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
我在克隆的Grails应用程序位于本地的存储库中。我运行这个命令来运行,它说:
I'm in the repository where the cloned Grails app is located in local. I run this command to run and it says:
FAILURE: Build failed with an exception.
* What went wrong:
Task 'bootRun' not found in root project 'vagnkort'.
* Try:
Run gradle tasks to get a list of available tasks. Run with --stacktrace option to get the stack trace. Run with --info or
--debug option to get more log output.
当我编写ls时,我的列表是:
When I write ls, my listing is:
README.md build grails-app grailsw.bat web-app
application.properties docs grailsw src wrapper
推荐答案
确实,解决方案是我必须运行相关版本的grails。在我的情况下,我不得不安装2.5.0版(当然这取决于应用程序的构建):
Indeed, the solution was that I had to run the relevant version of grails. In my case, I had to install the version 2.5.0 (of course this depends on the application build):
gvm install grails 2.5.0
然后切换到该版本:
gvm use grails 2.5.0
你可能会每次启动终端时,都必须切换到该版本(应用程序使用该版本构建)。
You might have to switch to that version (that the application is built with) every each time you start the Terminal.
这篇关于无法开始运行本地Grails应用程序的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文