Grails 无法解析插件
当我尝试运行 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-coverage
和 grails 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 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(2)
我也遇到过类似的问题。看看 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."
我在安装cloud-foundry插件后遇到了这个问题。
只需从 application.properties 文件中删除插件即可消除错误。
I faced the problem after installing cloud-foundry plugin.
Simply removing plugin from application.properties file removed the error.