2015-07-10 58 views
1

我想運行一個克隆的grails項目到我的intellij想法12.1.4。這裏是我得到的錯誤:Grails 2.4.5解決錯誤獲取依賴關係

|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) 

有沒有人遇到這個錯誤? 我該如何解決這個問題?

+0

您可以點擊這裏[鏈接](http://downforeveryoneorjustme.com/http://snapshots.repository.codehaus.org) - 服務器似乎被擊倒。 – Salman

+0

所有Codehaus服務現已終止。來自http://www.codehaus.org/ – meurer

回答

2

你應該嘗試使用其他服務器:

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