2010-09-07 52 views
5

當我試圖運行一個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-coveragegrails install-plugin testing,並獲得:

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

(指定的版本不應該是必要的,並沒有幫助。)

這裏發生了什麼?

回答

4

我遇到過類似的問題。看看http://jira.codehaus.org/browse/GRAILS-6427它對我有幫助。

我跟着什麼FEROZ Panwaskar說:

「作爲一種變通方法,我發現你可以簡單地重新安裝無法解析插件從application.properties插件參考刪除,然後運行安裝-plugin命令。」

0

安裝cloud-foundry插件後,我遇到了問題。 只需從application.properties文件中移除插件即可消除該錯誤。

相關問題