我有一个运行良好的项目,直到我清除了Maven缓存。现在我明白了:
org.apache.ant#ant;1.9.4: configuration not found in org.apache.ant#ant;1.9.4: 'compile'. It was required from org.grails#grails-project-api;2.5.4 compile
cglib#cglib;2.2.2: configuration not found in cglib#cglib;2.2.2: 'compile'. It was required from org.grails#grails-plugin-testing;2.5.4 runtime
Resolve error obtaining dependencies:
Failed to resolve dependencies (Set log level to 'warn' in BuildConfig.groovy for more information):
- org.apache.ant:ant:1.9.4
- cglib:cglib:2.2.2
无论我运行什么,它都会发生:干净,干净 - 全部,刷新依赖,。
defacto repos在buildconfig中定义:
mavenCentral(),grailsCentral(),grailsHome(),mavenRepo" http://repo.grails.org/grails/plugins"等等。