gpt4 book ai didi

java - Grails 2.4.5 解决获取依赖项的错误

转载 作者:行者123 更新时间:2023-11-30 03:20:58 25 4
gpt4 key购买 nike

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

|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/"

关于java - Grails 2.4.5 解决获取依赖项的错误,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/31340415/

25 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com