You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
In a default generated app, runCommand generates an error.
Steps To Reproduce
Invoke the runCommand task in a Grails 6.2.1 app.
$ [] sdk use grails 6.2.1
Using grails version 6.2.1 in this shell.
$ []
$ [] sdk use java 11.0.17-zulu
Using java version 11.0.17-zulu in this shell.
$ []
$ [] grails create-app runcommanddemo
| Application created at /Users/jeffbrown/runcommanddemo
$ []
$ [] cd runcommanddemo
$ []
$ []
$ [] ./gradlew runCommand -Pargs="url-mappings-report"
> Task :runCommand FAILED
Application class not found
FAILURE: Build failed with an exception.
* What went wrong:
Execution failed for task ':runCommand'.
> Process 'command '/Users/jeffbrown/.sdkman/candidates/java/11.0.17-zulu/zulu-11.jdk/Contents/Home/bin/java'' finished with non-zero exit value 1
* Try:
> Run with --stacktrace option to get the stack trace.
> Run with --info or --debug option to get more log output.
> Run with --scan to get full insights.
* Get more help at https://help.gradle.org
BUILD FAILED in 7s
6 actionable tasks: 6 executed
Environment Information
No response
Example Application
No response
Version
6.2.1
The text was updated successfully, but these errors were encountered:
Expected Behavior
The gradle runCommand task should work.
Actual Behaviour
In a default generated app, runCommand generates an error.
Steps To Reproduce
Invoke the runCommand task in a Grails 6.2.1 app.
Environment Information
No response
Example Application
No response
Version
6.2.1
The text was updated successfully, but these errors were encountered: