使用com.google.cloud:google-cloud-secretmanager:1.1.1进行Gradle构建失败

问题描述

这是我遇到的错误。谁能帮忙。不确定在哪里可以找到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

解决方法

暂无找到可以解决该程序问题的有效方法,小编努力寻找整理中!

如果你已经找到好的解决方法,欢迎将解决方案带上本链接一起发送给小编。

小编邮箱:dio#foxmail.com (将#修改为@)

相关问答

依赖报错 idea导入项目后依赖报错,解决方案:https://blog....
错误1:代码生成器依赖和mybatis依赖冲突 启动项目时报错如下...
错误1:gradle项目控制台输出为乱码 # 解决方案:https://bl...
错误还原:在查询的过程中,传入的workType为0时,该条件不起...
报错如下,gcc版本太低 ^ server.c:5346:31: 错误:‘struct...