Gradle/Grails:任务' start'在项目中找不到:客户端'
我遵循以下指南,创建带有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 技术交流群。

绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
如果您询问是否表明某事是错误的,则不会。那是预期的行为。它永远不会达到100%,因为只要应用程序运行,任务就可以运行。
这可能是文档中的错误。
./ gradlew客户端:服务
应该起作用。可能是。我们将更新文档。
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.
That is likely a mistake in the docs.
./gradlew client:serve
should work.Likely yes. We will get the docs updated.