我正在做一个grails项目第4版。
每当我运行这个项目或者执行gradle构建或者清理
我收到以下错误
> Could not resolve all artifacts for configuration ':classpath'.
   > Could not find org.grails.plugins:database-migration:3.1.0.BUILD-SNAPSHOT.
     Searched in the following locations:
       - https://repo.grails.org/grails/core/org/grails/plugins/database-migration/3.1.0.BUILD-SNAPSHOT/maven-metadata.xml
       - https://repo.grails.org/grails/core/org/grails/plugins/database-migration/3.1.0.BUILD-SNAPSHOT/database-migration-3.1.0.BUILD-SNAPSHOT.pom
       - https://repo.grails.org/grails/core/org/grails/plugins/database-migration/3.1.0.BUILD-SNAPSHOT/database-migration-3.1.0.BUILD-SNAPSHOT.jar
     Required by:
         project :发布于 2021-06-07 07:36:42
现在看来,所有插件都返回404,例如:
不确定发生了什么,但是如果使用grails 3+,可以尝试将https://grails.jfrog.io/grails/core添加到存储库闭包(作为临时修复),如下所示:
repositories {
  mavenLocal()
  maven { url "https://repo.grails.org/grails/core" }
  maven { url "https://grails.jfrog.io/grails/core"}
}尽管我想知道官方回购是怎么回事,但也许会从那些家伙那里听到。我希望他们尽快解决这个问题,因为我们的旧grails 2应用程序不那么容易解决。
发布于 2021-06-07 09:35:33
https://grails.jfrog.io/grails/core通过使用grails 4为我工作!谢谢!我希望repo.grails.org-大家能尽快解决这个问题。
发布于 2021-06-09 05:47:04
他们用"https://repo.grails.org/grails/core“临时解决了这个问题。
该链接将在"https://repo.grails.org/artifactory/core/“上转发,”https://repo.grails.org/artifactory/core/“拥有所有存储库。
祝好运!
https://stackoverflow.com/questions/67867160
复制相似问题