gradle生成失败,返回com.googlecloud:google-cloud-secretmanager:1.1.1

vxqlmq5t  于 2021-07-08  发布在  Java
关注(0)|答案(0)|浏览(216)

这就是我得到的错误。有人能帮忙吗。不知道在哪里可以找到com.google。guava:failureaccess:26.0-jre和com.google。guava:listenablefuture:26.0-jre

Execution failed for task ':pipelines:business-events:compileJava'.
    > Could not resolve all files for configuration ':pipelines:business-events:compileClasspath'.
       > Could not find com.google.guava:failureaccess:26.0-jre.
         Searched in the following locations:
           - https://jcenter.bintray.com/com/google/guava/failureaccess/26.0-jre/failureaccess-26.0-jre.pom
         If the artifact you are trying to retrieve can be found in the repository but without metadata in 'Maven POM' format, you need to adjust the 'metadataSources { ... }' of the repository declaration.
         Required by:
             project :pipelines:business-events > project :models:shared > com.google.cloud:google-cloud-secretmanager:1.1.1
             project :pipelines:business-events > project :models:shared > com.google.cloud:google-cloud-secretmanager:1.1.1 > com.google.api.grpc:proto-google-cloud-secretmanager-v1:1.1.1
             project :pipelines:business-events > project :models:shared > com.google.cloud:google-cloud-secretmanager:1.1.1 > com.google.api.grpc:proto-google-cloud-secretmanager-v1beta1:1.1.1
       > Could not find com.google.guava:listenablefuture:26.0-jre.
         Searched in the following locations:
           - https://jcenter.bintray.com/com/google/guava/listenablefuture/26.0-jre/listenablefuture-26.0-jre.pom
         If the artifact you are trying to retrieve can be found in the repository but without metadata in 'Maven POM' format, you need to adjust the 'metadataSources { ... }' of the repository declaration.
         Required by:
             project :pipelines:business-events > project :models:shared > com.google.cloud:google-cloud-secretmanager:1.1.1
             project :pipelines:business-events > project :models:shared > com.google.cloud:google-cloud-secretmanager:1.1.1 > com.google.api.grpc:proto-google-cloud-secretmanager-v1:1.1.1
             project :pipelines:business-events > project :models:shared > com.google.cloud:google-cloud-secretmanager:1.1.1 > com.google.api.grpc:proto-google-cloud-secretmanager-v1beta1:1.1.1

    Possible solution:
     - Declare repository providing the artifact, see the documentation at https://docs.gradle.org/current/userguide/declaring_repositories.html

暂无答案!

目前还没有任何答案,快来回答吧!

相关问题