Can't start local Grails application
I am in a repository where the cloned Grails application is located locally. 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.
When I write ls, my declaration is:
README.md build grails-app grailsw.bat web-app
application.properties docs grailsw src wrapper
+3
source to share
2 answers
Indeed, the solution was that I had to run the appropriate version of grails. In my case, I had to install version 2.5.0 (of course, it depends on the build of the application):
gvm install grails 2.5.0
Then switch to this version:
gvm use grails 2.5.0
You may have to switch to this version (which the application is built from) every time you launch the terminal.
+5
source to share