我的项目插件代码块:
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中的日志级别设置为“警告”以获取更多信息):
发布于 2015-05-05 09:19:10
在过去几年的某个时候,默认的grails的位置发生了变化。尝试将其添加到repositories块中:
mavenRepo(root:"https://repo.grails.org/grails/plugins", name:"newGrailsCentral")PS:你为什么使用2.2.4?如果您正在开始一个新项目,正如您的问题所暗示的,那么您应该使用2.4.5或3.0.1 (如果可能的话)。
https://stackoverflow.com/questions/30047848
复制相似问题