在.grails文件夹下删除常春藤缓存后,我的任何应用程序都正常工作(即使是新创建的),因为无法解决Grails 2.2.5版本中的依赖问题。
我在编辑中获得了以下日志
::::::::::::::::::::::::::::::::::::::::::::::
:: UNRESOLVED DEPENDENCIES ::
::::::::::::::::::::::::::::::::::::::::::::::
:: org.grails.plugins#cache;1.0.1: not found
:: org.grails.plugins#rendering;0.4.4: not found
:: org.grails.plugins#ckeditor;3.6.6.1.0: not found
:: org.grails.plugins#rest-client-builder;1.0.2: not found
:: org.grails.plugins#spring-security-core;1.2.7.3: not found
::::::::::::::::::::::::::::::::::::::::::::::
| Error Failed to resolve dependencies (Set log level to 'warn' in BuildConfig.groovy for more information):
- org.grails.plugins:cache:1.0.1
- org.grails.plugins:rendering:0.4.4
- org.grails.plugins:ckeditor:3.6.6.1.0
- org.grails.plugins:rest-client-builder:1.0.2
- org.grails.plugins:spring-security-core:1.2.7.3
答案 0 :(得分:10)
旧的Grails版本存在一些问题,您必须更新存储库路径。
请参阅我的回答:Grails Url shortener plugin not getting installed:
请使用
mavenRepo "https://repo.grails.org/grails/plugins"
作为存储库定义。