Gradle/Grails: 在项目“:client”中找不到任务 'start'
Gradle/Grails: Task 'start' not found in project ':client'
我按照以下指南使用 Vue 配置文件创建了一个 Grails 项目。 https://grails-profiles.github.io/vue/latest/guide/
首先:
当我 运行 ./gradlew server:bootRun
进程卡在 85%,但正确显示 Grails application running at http://localhost:8080 in environment: development
并且可以访问本地主机页面。
然后:
当 运行ning ./gradlew client:start
时,构建失败说明:
Starting a Gradle Daemon, 1 busy and 2 stopped Daemons could not be reused, use --status for details
FAILURE: Build failed with an exception.
* What went wrong:
Task 'start' not found in project ':client'.
* Try:
Run gradlew 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. Run with --scan to get full insights.
* Get more help at https://help.gradle.org
有趣的是它以前工作过,但当我决定重新开始时,我删除了项目文件夹并根据指南创建了一个新文件夹,但它不再工作了。
有没有人遇到过类似的错误?
When i run ./gradlew server:bootRun the process is stuck at 85%, but
correctly displays Grails application running at http://localhost:8080
in environment: development and the localhost page is accessible.
如果你问这是否表明有问题,那不是。这是预期的行为。它永远不会达到 100%,因为任务是 运行,只要应用是 运行。
Then: When running ./gradlew client:start, the build Fails stating:
这可能是文档中的错误。 ./gradlew client:serve
应该可以。
Has anyone experienced a similar error?
可能是的。我们将更新文档。
我按照以下指南使用 Vue 配置文件创建了一个 Grails 项目。 https://grails-profiles.github.io/vue/latest/guide/
首先:
当我 运行 ./gradlew server:bootRun
进程卡在 85%,但正确显示 Grails application running at http://localhost:8080 in environment: development
并且可以访问本地主机页面。
然后:
当 运行ning ./gradlew client:start
时,构建失败说明:
Starting a Gradle Daemon, 1 busy and 2 stopped Daemons could not be reused, use --status for details
FAILURE: Build failed with an exception.
* What went wrong:
Task 'start' not found in project ':client'.
* Try:
Run gradlew 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. Run with --scan to get full insights.
* Get more help at https://help.gradle.org
有趣的是它以前工作过,但当我决定重新开始时,我删除了项目文件夹并根据指南创建了一个新文件夹,但它不再工作了。
有没有人遇到过类似的错误?
When i run ./gradlew server:bootRun the process is stuck at 85%, but correctly displays Grails application running at http://localhost:8080 in environment: development and the localhost page is accessible.
如果你问这是否表明有问题,那不是。这是预期的行为。它永远不会达到 100%,因为任务是 运行,只要应用是 运行。
Then: When running ./gradlew client:start, the build Fails stating:
这可能是文档中的错误。 ./gradlew client:serve
应该可以。
Has anyone experienced a similar error?
可能是的。我们将更新文档。