首页
学习
活动
专区
圈层
工具
发布
社区首页 >问答首页 >配置根项目'cordapp-template-java-release-V4‘时出现问题

配置根项目'cordapp-template-java-release-V4‘时出现问题
EN

Stack Overflow用户
提问于 2021-03-01 13:14:42
回答 1查看 134关注 0票数 0

我试着从https://github.com/corda/cordapp-template-java.git上运行一个cordapp示例。然后我遇到了一个错误。

代码语言:javascript
复制
    A problem occurred configuring root project 'cordapp-template-java-release-V4'.
> Could not resolve all artifacts for configuration ':classpath'.
   > Could not resolve net.corda.plugins:cordapp:5.0.12.
     Required by:
         project :
      > Could not resolve net.corda.plugins:cordapp:5.0.12.
         > Could not get resource 'https://repo.maven.apache.org/maven2/net/corda/plugins/cordapp/5.0.12/cordapp-5.0.12.pom'.
            > Could not GET 'https://repo.maven.apache.org/maven2/net/corda/plugins/cordapp/5.0.12/cordapp-5.0.12.pom'.
               > repo.maven.apache.org
      > Could not resolve net.corda.plugins:cordapp:5.0.12.
         > Could not get resource 'https://jcenter.bintray.com/net/corda/plugins/cordapp/5.0.12/cordapp-5.0.12.pom'.
            > Could not GET 'https://jcenter.bintray.com/net/corda/plugins/cordapp/5.0.12/cordapp-5.0.12.pom'.
               > jcenter.bintray.com
      > Could not resolve net.corda.plugins:cordapp:5.0.12.
         > Could not get resource 'https://software.r3.com/artifactory/corda-releases/net/corda/plugins/cordapp/5.0.12/cordapp-5.0.12.pom'.
            > Could not GET 'https://software.r3.com/artifactory/corda-releases/net/corda/plugins/cordapp/5.0.12/cordapp-5.0.12.pom'.
               > software.r3.com
   > Could not resolve net.corda.plugins:cordformation:5.0.12.
     Required by:
         project :
      > Could not resolve net.corda.plugins:cordformation:5.0.12.
         > Could not get resource 'https://repo.maven.apache.org/maven2/net/corda/plugins/cordformation/5.0.12/cordformation-5.0.12.pom'.
            > Could not GET 'https://repo.maven.apache.org/maven2/net/corda/plugins/cordformation/5.0.12/cordformation-5.0.12.pom'.
               > repo.maven.apache.org
      > Could not resolve net.corda.plugins:cordformation:5.0.12.
         > Could not get resource 'https://jcenter.bintray.com/net/corda/plugins/cordformation/5.0.12/cordformation-5.0.12.pom'.
            > Could not GET 'https://jcenter.bintray.com/net/corda/plugins/cordformation/5.0.12/cordformation-5.0.12.pom'.
               > jcenter.bintray.com
      > Could not resolve net.corda.plugins:cordformation:5.0.12.
         > Could not get resource 'https://software.r3.com/artifactory/corda-releases/net/corda/plugins/cordformation/5.0.12/cordformation-5.0.12.pom'.
            > Could not GET 'https://software.r3.com/artifactory/corda-releases/net/corda/plugins/cordformation/5.0.12/cordformation-5.0.12.pom'.
               > software.r3.com
   > Could not resolve net.corda.plugins:quasar-utils:5.0.12.
     Required by:
         project :
      > Could not resolve net.corda.plugins:quasar-utils:5.0.12.
         > Could not get resource 'https://repo.maven.apache.org/maven2/net/corda/plugins/quasar-utils/5.0.12/quasar-utils-5.0.12.pom'.
            > Could not GET 'https://repo.maven.apache.org/maven2/net/corda/plugins/quasar-utils/5.0.12/quasar-utils-5.0.12.pom'.
               > repo.maven.apache.org
      > Could not resolve net.corda.plugins:quasar-utils:5.0.12.
         > Could not get resource 'https://jcenter.bintray.com/net/corda/plugins/quasar-utils/5.0.12/quasar-utils-5.0.12.pom'.
            > Could not GET 'https://jcenter.bintray.com/net/corda/plugins/quasar-utils/5.0.12/quasar-utils-5.0.12.pom'.
               > jcenter.bintray.com
      > Could not resolve net.corda.plugins:quasar-utils:5.0.12.
         > Could not get resource 'https://software.r3.com/artifactory/corda-releases/net/corda/plugins/quasar-utils/5.0.12/quasar-utils-5.0.12.pom'.
            > Could not GET 'https://software.r3.com/artifactory/corda-releases/net/corda/plugins/quasar-utils/5.0.12/quasar-utils-5.0.12.pom'.
               > software.r3.com
   > Could not resolve org.springframework.boot:spring-boot-gradle-plugin:2.0.2.RELEASE.
     Required by:
         project :
      > Could not resolve org.springframework.boot:spring-boot-gradle-plugin:2.0.2.RELEASE.
         > Could not get resource 'https://repo.maven.apache.org/maven2/org/springframework/boot/spring-boot-gradle-plugin/2.0.2.RELEASE/spring-boot-gradle-plugin-2.0.2.RELEASE.pom'.
            > Could not GET 'https://repo.maven.apache.org/maven2/org/springframework/boot/spring-boot-gradle-plugin/2.0.2.RELEASE/spring-boot-gradle-plugin-2.0.2.RELEASE.pom'.
               > repo.maven.apache.org
      > Could not resolve org.springframework.boot:spring-boot-gradle-plugin:2.0.2.RELEASE.
         > Could not get resource 'https://jcenter.bintray.com/org/springframework/boot/spring-boot-gradle-plugin/2.0.2.RELEASE/spring-boot-gradle-plugin-2.0.2.RELEASE.pom'.
            > Could not GET 'https://jcenter.bintray.com/org/springframework/boot/spring-boot-gradle-plugin/2.0.2.RELEASE/spring-boot-gradle-plugin-2.0.2.RELEASE.pom'.
               > jcenter.bintray.com
      > Could not resolve org.springframework.boot:spring-boot-gradle-plugin:2.0.2.RELEASE.
         > Could not get resource 'https://software.r3.com/artifactory/corda-releases/org/springframework/boot/spring-boot-gradle-plugin/2.0.2.RELEASE/spring-boot-gradle-plugin-2.0.2.RELEASE.pom'.
            > Could not GET 'https://software.r3.com/artifactory/corda-releases/org/springframework/boot/spring-boot-gradle-plugin/2.0.2.RELEASE/spring-boot-gradle-plugin-2.0.2.RELEASE.pom'.
               > software.r3.com
EN

回答 1

Stack Overflow用户

发布于 2021-03-02 02:37:54

感谢@opticlyptic在上面的评论中指出了这一点。值得一提的是,有时存储库确实会出现停机或停机。

如果这仍然是一个问题,请仔细检查您的gradle存储库。它的最新版本应该是software.r3.com。你可以在这里找到一个gradle仓库的例子:https://github.com/corda/cordapp-template-java/blob/release-V4/repositories.gradle

票数 0
EN
页面原文内容由Stack Overflow提供。腾讯云小微IT领域专用引擎提供翻译支持
原文链接:

https://stackoverflow.com/questions/66416986

复制
相关文章

相似问题

领券
问题归档专栏文章快讯文章归档关键词归档开发者手册归档开发者手册 Section 归档