Grails 2.4.5解决获取依赖项错误



我正在尝试运行克隆的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)

有人遇到这个错误吗?怎么解呢?

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

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

最新更新