Grails 无法解析插件

发布于 2024-09-18 07:31:51 字数 735 浏览 2 评论 0原文

当我尝试运行 grails 应用程序时,我被告知 grails 无法解析以下依赖项:

            ::::::::::::::::::::::::::::::::::::::::::::::

            ::          UNRESOLVED DEPENDENCIES         ::

            ::::::::::::::::::::::::::::::::::::::::::::::

            :: org.grails.plugins#code-coverage;1.1.8: not found

            :: org.grails.plugins#testing;0.5: not found

            ::::::::::::::::::::::::::::::::::::::::::::::


Failed to resolve plugins.

因此我尝试了 grails install-plugin code-coveragegrails install-plugin testing< /code>,并收到:(

Plugin not found for name [code-coverage] and version [not specified]

指定版本不是必要的,也没有帮助。)

这里发生了什么?

When I try to run a grails app, I'm told that grails can't resolve the following dependencies:

            ::::::::::::::::::::::::::::::::::::::::::::::

            ::          UNRESOLVED DEPENDENCIES         ::

            ::::::::::::::::::::::::::::::::::::::::::::::

            :: org.grails.plugins#code-coverage;1.1.8: not found

            :: org.grails.plugins#testing;0.5: not found

            ::::::::::::::::::::::::::::::::::::::::::::::


Failed to resolve plugins.

So I tried grails install-plugin code-coverage and grails install-plugin testing, and received:

Plugin not found for name [code-coverage] and version [not specified]

(Specifying the version shouldn't be necessary and didn't help.)

What's happening here?

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

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

发布评论

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

评论(2

魂牵梦绕锁你心扉 2024-09-25 07:31:51

我也遇到过类似的问题。看看 http://jira.codehaus.org/browse/GRAILS-6427 它帮助了我。

我按照 Feroz Panwaskar 所说:

“作为解决方法,我发现您可以简单地重新安装无法解析的插件。从 application.properties 中删除插件引用并运行 install-plugin 命令。”

I have experienced a similar problem. Have a look at http://jira.codehaus.org/browse/GRAILS-6427 it helped me.

I followed what Feroz Panwaskar said :

"As a workaround I found you can simply reinstall the plugins that cannot be resolved. Remove from plugin reference from application.properties and run install-plugin command."

回忆那么伤 2024-09-25 07:31:51

我在安装cloud-foundry插件后遇到了这个问题。
只需从 application.properties 文件中删除插件即可消除错误。

I faced the problem after installing cloud-foundry plugin.
Simply removing plugin from application.properties file removed the error.

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