【问题标题】:Grails 2.4.5 Resolve error obtaining dependenciesGrails 2.4.5 解决获取依赖的错误
【发布时间】:2015-07-10 12:08:47
【问题描述】:

我正在尝试将克隆的 grails 项目运行到我的 intellij idea 12.1.4 中。这是我得到的错误:

|Loading Grails 2.4.5
|Configuring classpath
Error |
Resolve error obtaining dependencies: Could not transfer artifact org.grails.plugins:tomcat:zip:2.4.5 from/to snapshots_repository_codehaus_org (http://snapshots.repository.codehaus.org): Gone (410) (Use --stacktrace to see the full trace)
Error |
Resolve error obtaining dependencies: Could not transfer artifact org.grails.plugins:hibernate:zip:2.4.5 from/to snapshots_repository_codehaus_org (http://snapshots.repository.codehaus.org): Gone (410) (Use --stacktrace to see the full trace)
Error |
Resolve error obtaining dependencies: Could not transfer artifact org.grails.plugins:hibernate:zip:2.4.5 from/to snapshots_repository_codehaus_org (http://snapshots.repository.codehaus.org): Gone (410) (Use --stacktrace to see the full trace)
Error |
Could not transfer artifact org.grails.plugins:tomcat:zip:2.4.5 from/to snapshots_repository_codehaus_org (http://snapshots.repository.codehaus.org): Gone (410)

有人遇到过这个错误吗? 我该如何解决这个问题?

【问题讨论】:

  • 您可以在这里查看link - 服务器似乎已关闭。
  • 所有 Codehaus 服务现已终止。来自codehaus.org
  • 也许你在代理后面

标签: java grails intellij-idea


【解决方案1】:

您应该尝试使用其他服务器:

mavenRepo "http://mvnrepository.com/artifact/"
mavenRepo "http://download.java.net/maven/2/"
mavenRepo "http://repository.jboss.com/maven2/"
mavenRepo "http://repo.spring.io/milestone/"

【讨论】:

    猜你喜欢
    • 1970-01-01
    • 1970-01-01
    • 2013-04-29
    • 2016-12-14
    • 1970-01-01
    • 2015-04-25
    • 1970-01-01
    • 1970-01-01
    • 2016-03-13
    相关资源
    最近更新 更多