Gradle/Grails:任务' start'在项目中找不到:客户端'

发布于 2025-01-26 12:12:39 字数 987 浏览 3 评论 0原文

我遵循以下指南,创建带有VUE配置文件的Grails项目。 https://grails-profiles.github.io/vue/vue/latest/guide/ < /a>

首先: 当我运行./ gradlew服务器:bootrun该过程被困在85%,但正确显示在http:// localhost:8080在环境中:开发 and code> and code>和可访问Local主机页面。

然后: 在运行./ gradlew客户端: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

有趣的是,它以前有效,但是当我决定启动时,我删除了项目文件夹并根据指南创建了一个新文件夹,它不再起作用了。

有人遇到类似错误吗?

I followed the following guide to create a Grails Project with Vue Profile. https://grails-profiles.github.io/vue/latest/guide/

First:
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.

Then:
When running ./gradlew client:start, the build Fails stating:

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

The funny thing is it worked before, but as i decided to start over i deleted the project folder and created a new one according to the guide, it wasn't working anymore.

Has anyone experienced a similar error?

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(1

心在旅行 2025-02-02 12:12:39

当我运行./gradlew Server:Bootrun时,该过程卡在85%,但是
正确显示在http:// localhost上运行的Grails应用程序:8080
在环境中:开发和Local主机页面可访问。

如果您询问是否表明某事是错误的,则不会。那是预期的行为。它永远不会达到100%,因为只要应用程序运行,任务就可以运行。

然后:运行./gradlew客户端时:start,构建失败说明:

这可能是文档中的错误。 ./ gradlew客户端:服务应该起作用。

有人遇到类似错误吗?

可能是。我们将更新文档。

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.

If you are asking if that indicates something is wrong, it doesn't. That is expected behavior. It never gets to 100% because the task is running as long as the app is running.

Then: When running ./gradlew client:start, the build Fails stating:

That is likely a mistake in the docs. ./gradlew client:serve should work.

Has anyone experienced a similar error?

Likely yes. We will get the docs updated.

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文