2016-04-05 27 views
2

Bir SBT projesini IntelliJ IDEA 15 CE'ye aktarmaya çalışırken bu çok tuhaf bir sorun yaşıyorum.IntelliJ - Zincirdeki herhangi bir sağlayıcıdan AWS kimlik bilgileri yüklenemedi

Bu ileti sadece Unable to load AWS Credentials from any provider in the chain'dir.

Oturumum için ortam değişkenleri olarak AWS_ACCESS_KEY_ID ve AWS_SECRET_ACCESS_KEY göstermeyi denedim ve ayarlandığım değerlerin doğru olduğundan emin olduğumu biliyorum. Ayrıca bir ~/.aws/credentials dosyası oluşturmayı denedim, fakat bunların hiçbiri bu hatayı düzeltmek için hiçbir şey yapmıyor. Bence bu özellikle bir IntelliJ hatasıdır, çünkü bu projeyi sbt numaralı telefonu kullanarak konsolumda çalıştırabilirim.

İşte benim sbt.last.log adresinden bir kod parçacığı. Süper yararlı değil.

[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 

Bunu nasıl düzeltirim?

+0

Güncelleme: IntelliJ 2016 CE ile güncelledim ve hala aynı sorunu yaşıyorum. – bioball

cevap

3

Çalıştırmayı başarabilmemin tek yolu, ~/.aws/credential dosyasını kullanıyordu (en son IntelliJ CE kullanıyorum). senin ~/.aws/credential eklenti İçinde

:

[] iç profil adı vardır
[default] 
aws_access_key_id={NO_QUOTES_KEY} 
aws_secret_access_key={NO_QUOTES_SECRET_KEY} 

varsayılan olmak. Başka bir profil adıyla çalışmadı.

+0

Bu benim için çalışmıyor ... :( – bioball

1

Sadece

sbt compile 

veya tüm bağımlılıklar, ardından açılan çözüldü (ve indirilmiş) komut satırından gelen

activator compile 

(SBT üst kümesidir Activator) çalıştıran sona erdi IntelliJ'de. Umarım bu sizin için de geçerlidir umarım.

İlgili konular