当我尝试运行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
,并收到了:Plugin not found for name [code-coverage] and version [not specified]
(指定版本不是必需的,也无济于事。)
这里发生了什么事?
最佳答案
我遇到了类似的问题。看看http://jira.codehaus.org/browse/GRAILS-6427它对我有帮助。
我遵循了费罗兹·潘瓦斯卡(Feroz Panwaskar)所说的话:
“作为一种解决方法,我发现您可以简单地重新安装无法解决的插件。从application.properties的插件引用中删除并运行install-plugin命令。”
关于Grails无法解析插件,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/3662651/