开发者

Grails can't resolve plugin

开发者 https://www.devze.com 2023-01-15 09:02 出处:网络
When I try to run a grails app, I\'m told that grails can\'t resolve the following dependencies: ::::::::::::::::::::::::::::::::::::::::::::::

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 fo开发者_开发问答und

            :: 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?


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."


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

0

精彩评论

暂无评论...
验证码 换一张
取 消