【问题标题】:Grails can't resolve pluginGrails 无法解析插件
【发布时间】:2011-04-09 10:12:08
【问题描述】:

当我尝试运行 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,收到了:

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

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

这里发生了什么?

【问题讨论】:

    标签: grails grails-plugin


    【解决方案1】:

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

    我听了 Feroz Panwaskar 所说的:

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

    【讨论】:

      【解决方案2】:

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

      【讨论】:

        猜你喜欢
        • 2013-12-30
        • 2011-09-09
        • 2012-02-17
        • 2017-09-27
        • 1970-01-01
        • 1970-01-01
        • 2011-05-06
        • 2013-11-21
        • 1970-01-01
        相关资源
        最近更新 更多