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

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

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

  1. Execution failed for task ':pipelines:business-events:compileJava'.
  2. > Could not resolve all files for configuration ':pipelines:business-events:compileClasspath'.
  3. > Could not find com.google.guava:failureaccess:26.0-jre.
  4. Searched in the following locations:
  5. - https://jcenter.bintray.com/com/google/guava/failureaccess/26.0-jre/failureaccess-26.0-jre.pom
  6. 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.
  7. Required by:
  8. project :pipelines:business-events > project :models:shared > com.google.cloud:google-cloud-secretmanager:1.1.1
  9. 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
  10. 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
  11. > Could not find com.google.guava:listenablefuture:26.0-jre.
  12. Searched in the following locations:
  13. - https://jcenter.bintray.com/com/google/guava/listenablefuture/26.0-jre/listenablefuture-26.0-jre.pom
  14. 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.
  15. Required by:
  16. project :pipelines:business-events > project :models:shared > com.google.cloud:google-cloud-secretmanager:1.1.1
  17. 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
  18. 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
  19. Possible solution:
  20. - Declare repository providing the artifact, see the documentation at https://docs.gradle.org/current/userguide/declaring_repositories.html

暂无答案!

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

相关问题