【问题标题】:Grails - unable to resolve dependenciesGrails - 无法解决依赖关系
【发布时间】:2016-08-01 05:23:27
【问题描述】:

在机器上安装了 Grails 2.3.7 的新副本(旧项目需要)并尝试创建一个示例应用程序只是为了测试,但我无法解决一些依赖关系

>>>> org.grails.plugins:scaffolding:2.0.2
>>>> org.grails.plugins:cache:1.1.1
>>>> org.grails.plugins:hibernate:3.6.10.9
>>>> org.grails.plugins:database-migration:1.3.8
>>>> org.grails.plugins:jquery:1.11.0.2
>>>> org.grails.plugins:resources:1.2.7
>>>> org.grails.plugins:tomcat:7.0.52.1

尝试了其他几个 2.x.x 版本并遇到了同样的问题......我意识到最新版本是 3.x.x,但对旧版本的支持是否已完全删除??

我的 build.config 看起来像 ..

    grailsPlugins()
    grailsHome()
    mavenLocal()
    grailsCentral()
    mavenCentral()

    mavenRepo "http://repo.grails.org/grails/core"
    mavenRepo "http://repo.grails.org/grails/plugins"

有什么移动了吗?

谢谢

【问题讨论】:

    标签: grails plugins


    【解决方案1】:

    repo.grails.org 上的 Artifactory 存储库已关闭(您会看到它重定向到 https://repo.grails.org/grails/webapp/#/home 并停留在空白页上)并且正在查看它,但是当它出现时还没有 ETA将会回来。这种情况过去发生过几次,可能需要几个小时才能再次可用,但总共不应超过一天。

    【讨论】:

    • 更新:它现在重新上线,所以一切都应该像往常一样工作
    【解决方案2】:

    maven.org repo 对我来说是可靠的。将其作为第一个,甚至是唯一的 mavenRepo:

    mavenRepo 'http://repo1.maven.org/maven2/'
    

    【讨论】:

      猜你喜欢
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 2016-09-22
      • 2014-05-07
      • 1970-01-01
      • 2016-02-16
      • 2017-02-20
      相关资源
      最近更新 更多