简体   繁体   中英

Grails can't resolve plugin

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?

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.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM