[英]Configure plugin in grails 2.2.4
我的項目插件代碼塊:
plugins {
compile ":spring-security-core:1.2.7.3"
compile ":jasper:1.6.1"
compile ":mail:1.0.1"
compile ":executor:0.3"
compile ":jcaptcha:1.2.1"
build ":tomcat:$grailsVersion"
runtime ":hibernate:$grailsVersion"
runtime ":jquery:1.8.3"
}
但是當我投影以下錯誤消息顯示在控制台中:
無法解決依賴關系(有關更多信息,請在BuildConfig.groovy中將日志級別設置為“警告”):
在過去幾年中的某個時候,默認grails存儲庫的位置已更改。 嘗試將其添加到您的repositories
塊中:
mavenRepo(root:"https://repo.grails.org/grails/plugins", name:"newGrailsCentral")
PS:為什么要使用2.2.4? 如問題所暗示的那樣,如果要啟動一個新項目,則應盡可能使用2.4.5或3.0.1。
聲明:本站的技術帖子網頁,遵循CC BY-SA 4.0協議,如果您需要轉載,請注明本站網址或者原文地址。任何問題請咨詢:yoyou2525@163.com.