一般动作
编译或者运行工程时,grails会检查工程的插件依赖关系以及grails缓存,一旦发现插件依赖有问题,会提示dependencies之类的错误,然后退出,比如:
Error Plugin zip not found at location: C:\Users\Administrator\.grails\ivy-cache-bropen-2.2.1\org.grails.plugins\bro-framework\zips\bro-framework-3.0.0.zip. Potential corrupt cache. Try running: grails --refresh-dependencies compile
Error Failed to resolve dependencies (Set log level to 'warn' in BuildConfig.groovy for more information):
- org.grails.plugins:console:1.2
建议先尝试 g clean 一下再试,如果问题未解决的话: