gpt4 book ai didi

intellij-idea - IntelliJ - 无法从链中的任何提供商加载 AWS 凭证

转载 作者:行者123 更新时间:2023-12-04 06:19:16 27 4
gpt4 key购买 nike

尝试将 SBT 项目导入 IntelliJ IDEA 15 CE 时,我遇到了这个奇怪的问题。

消息很简单 Unable to load AWS Credentials from any provider in the chain .

我试过暴露 AWS_ACCESS_KEY_IDAWS_SECRET_ACCESS_KEY作为 session 的环境变量,我确信我设置的值是正确的。我也试过创建一个 ~/.aws/credentials文件,但这些都没有解决此错误。我认为这特别是一个 IntelliJ 错误,因为我可以使用 sbt 在我的控制台中运行这个项目正好。

这是我的片段 sbt.last.log .这不是 super 有用。

[error]     several problems occurred while resolving dependency: org.ow2#ow2;1.3 {}:
[error] Unable to load AWS credentials from any provider in the chain
[error] Unable to load AWS credentials from any provider in the chain
[error] Unable to load AWS credentials from any provider in the chain
[error] Unable to load AWS credentials from any provider in the chain
[error] Unable to load AWS credentials from any provider in the chain
[error]
[error] Unable to load AWS credentials from any provider in the chain
[error] Unable to load AWS credentials from any provider in the chain
[error]
[error] several problems occurred while resolving dependency: org.ow2.asm#asm-parent;4.1 {}:
[error] several problems occurred while resolving dependency: org.ow2#ow2;1.3 {}:
[error] Unable to load AWS credentials from any provider in the chain
[error] Unable to load AWS credentials from any provider in the chain
[error] Unable to load AWS credentials from any provider in the chain
[error] Unable to load AWS credentials from any provider in the chain
[error] Unable to load AWS credentials from any provider in the chain
[error]
[error] several problems occurred while resolving dependency: org.ow2#ow2;1.3 {}:
[error] Unable to load AWS credentials from any provider in the chain
[error] Unable to load AWS credentials from any provider in the chain
[error] Unable to load AWS credentials from any provider in the chain
[error] Unable to load AWS credentials from any provider in the chain
[error] Unable to load AWS credentials from any provider in the chain
[error]
[error] several problems occurred while resolving dependency: org.ow2#ow2;1.3 {}:
[error] Unable to load AWS credentials from any provider in the chain
[error] Unable to load AWS credentials from any provider in the chain
[error] Unable to load AWS credentials from any provider in the chain
[error] Unable to load AWS credentials from any provider in the chain
[error] Unable to load AWS credentials from any provider in the chain
[error]
[error] Unable to load AWS credentials from any provider in the chain
[error] Unable to load AWS credentials from any provider in the chain
[error]
[error] Unable to load AWS credentials from any provider in the chain
[error] Unable to load AWS credentials from any provider in the chain
[error] Total time: 596 s, completed Apr 5, 2016 10:59:14 AM

我该如何解决?

最佳答案

我能够让它工作的唯一方法是使用 ~/.aws/credential文件(我使用的是最新的 IntelliJ CE)。

在您的 ~/.aws/credential 内添加:

[default]
aws_access_key_id={NO_QUOTES_KEY}
aws_secret_access_key={NO_QUOTES_SECRET_KEY}
[]里面的配置文件名称必须是 默认 .它不适用于任何其他配置文件名称。

关于intellij-idea - IntelliJ - 无法从链中的任何提供商加载 AWS 凭证,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/36433929/

27 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com