2

删除 .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
4

1 回答 1

10

较旧的 Grails 版本存在一些问题,您必须更新存储库路径。

请参阅我的答案:未安装 Grails Url 缩短插件

请用

mavenRepo "https://repo.grails.org/grails/plugins"

作为存储库定义。

http://grails.1312388.n4.nabble.com/Grails-central-repo-seemingly-missing-plugin-versions-td4658720.html

于 2015-02-27T08:07:46.380 回答