我遵循的步骤来获得错误 -
收到的错误消息是-
索引 0 处的参数不匹配:“run-app” 您是指:grails create-app 或 grails create-webapp 或 grails create-restapi?
来自“入门”文档:
https://docs.grails.org/6.1.2/guide/gettingStarted.html#_step_6_run_the_application
Grails 框架现在依赖 Gradle 任务来运行应用程序。要启动应用程序,请使用以下 Gradle bootRun 命令:
$ ./gradlew bootRun
您的应用程序将默认托管在端口 8080 上。