Can';t开始运行本地Grails应用程序
我在本地存储库中克隆的Grails应用程序所在的位置。我运行这个命令来运行,它说:Can';t开始运行本地Grails应用程序,grails,Grails,我在本地存储库中克隆的Grails应用程序所在的位置。我运行这个命令来运行,它说: 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 t
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时,我的清单是:
README.md build grails-app grailsw.bat web-app
application.properties docs grailsw src wrapper
尝试运行“grails clean”来清理一切,然后运行“grails run app”事实上,解决方案是我必须运行相关版本的grails。就我而言,我必须安装2.5.0版(当然这取决于应用程序版本): 然后切换到该版本:
gvm use grails 2.5.0
每次启动终端时,您可能都必须切换到该版本(应用程序是用该版本构建的)。您是否尝试使用“grails run app”命令运行应用程序?
gvm use grails 2.5.0