Error: Unable to load AWS credentials from any provider in the chain

Answered

I'm having an issue with IntelliJ 2016.1.1 CE that I haven't had with previous versions. When trying to import a Scala + SBT project, I'm getting this error:

 

Error:Error while importing SBT project:<br/>...<br/><pre>[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.apache.commons#commons-parent;9 {}:
[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.apache.commons#commons-parent;9 {}:
[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] Total time: 24 s, completed Apr 11, 2016 4:21:28 PM</pre><br/>See complete log in <a href="REDACTED/Library/Logs/IdeaIC2016.1/sbt.last.log">REDACTED/Library/Logs/IdeaIC2016.1/sbt.last.log</a>

 

I have my AWS credentials set as environment variables, as $AWS_ACCESS_KEY_ID and $AWS_SECRET_ACCESS_KEY. I also tried creating a ~/.aws/credentials file, but neither of these do anything. I can build the project using the `sbt` command line tool just fine. I can also import the project just fine with IntelliJ IDEA 14 CE. I know for sure that my credentials are correct, because I use them elsewhere without any issues.

Any ideas?

 

Log file:

[info] Resolving com.typesafe.play#play-iteratees_2.11;2.4.0 ...
[info] Resolving org.scala-stm#scala-stm_2.11;0.7 ...
[info] Resolving com.typesafe#config;1.3.0 ...
[info] Resolving com.typesafe.play#play-json_2.11;2.4.0 ...
[info] Resolving com.typesafe.play#play-functional_2.11;2.4.0 ...
[info] Resolving com.typesafe.play#play-datacommons_2.11;2.4.0 ...
[info] Resolving joda-time#joda-time;2.7 ...
[info] Resolving org.joda#joda-convert;1.7 ...
[info] Resolving org.scala-lang#scala-reflect;2.11.6 ...
[info] Resolving com.fasterxml.jackson.core#jackson-core;2.5.3 ...
[info] Resolving com.fasterxml.jackson.core#jackson-annotations;2.5.3 ...
[info] Resolving com.fasterxml.jackson.core#jackson-databind;2.5.3 ...
[info] Resolving com.fasterxml.jackson.datatype#jackson-datatype-jdk8;2.5.3 ...
[info] Resolving com.fasterxml.jackson.datatype#jackson-datatype-jsr310;2.5.3 ...
[info] Resolving com.typesafe.play#play-netty-utils;2.4.0 ...
[info] Resolving org.slf4j#slf4j-api;1.7.12 ...
[info] Resolving org.slf4j#jul-to-slf4j;1.7.12 ...
[info] Resolving org.slf4j#jcl-over-slf4j;1.7.12 ...
[info] Resolving org.scala-lang.modules#scala-parser-combinators_2.11;1.0.1 ...
[info] Resolving ch.qos.logback#logback-core;1.1.3 ...
[info] Resolving ch.qos.logback#logback-classic;1.1.3 ...
[info] Resolving com.typesafe.akka#akka-actor_2.11;2.3.11 ...
[info] Resolving com.typesafe.akka#akka-slf4j_2.11;2.3.11 ...
[info] Resolving commons-codec#commons-codec;1.10 ...
[info] Resolving xerces#xercesImpl;2.11.0 ...
[info] Resolving xml-apis#xml-apis;1.4.01 ...
[info] Resolving javax.transaction#jta;1.1 ...
[info] Resolving com.google.inject#guice;4.0 ...
[info] Resolving javax.inject#javax.inject;1 ...
[info] Resolving aopalliance#aopalliance;1.0 ...
[info] Resolving com.google.guava#guava;16.0.1 ...
[info] Resolving com.google.inject.extensions#guice-assistedinject;4.0 ...
[info] Resolving com.google.inject.extensions#guice-assistedinject;4.0 ...
[info] Resolving com.google.inject.extensions#extensions-parent;4.0 ...
[info] Resolving com.typesafe.play#play-netty-server_2.11;2.4.0 ...
[info] Resolving io.netty#netty;3.10.3.Final ...
[info] Resolving com.typesafe.netty#netty-http-pipelining;1.1.4 ...
[info] Resolving com.typesafe.play#play-cache_2.11;2.4.0 ...
[info] Resolving net.sf.ehcache#ehcache-core;2.6.11 ...
[info] Resolving com.typesafe.play#play-ws_2.11;2.4.0 ...
[info] Resolving com.google.guava#guava;18.0 ...
[info] Resolving com.ning#async-http-client;1.9.21 ...
[info] Resolving oauth.signpost#signpost-core;1.2.1.2 ...
[info] Resolving oauth.signpost#signpost-commonshttp4;1.2.1.2 ...
[info] Resolving org.apache.httpcomponents#httpcore;4.0.1 ...
[info] Resolving org.apache.httpcomponents#httpclient;4.0.1 ...
[info] Resolving commons-logging#commons-logging;1.1.1 ...
[info] Resolving com.typesafe.akka#akka-persistence-experimental_2.11;2.3.11 ...
[info] Resolving org.iq80.leveldb#leveldb;0.5 ...
[info] Resolving org.iq80.leveldb#leveldb-api;0.5 ...
[info] Resolving org.fusesource.leveldbjni#leveldbjni-all;1.7 ...
[info] Resolving org.fusesource.leveldbjni#leveldbjni;1.7 ...
[info] Resolving org.fusesource.hawtjni#hawtjni-runtime;1.8 ...
[info] Resolving org.fusesource.leveldbjni#leveldbjni-osx;1.5 ...
[info] Resolving org.fusesource.leveldbjni#leveldbjni-linux32;1.5 ...
[info] Resolving org.fusesource.leveldbjni#leveldbjni-linux64;1.5 ...
[info] Resolving org.fusesource.leveldbjni#leveldbjni-win32;1.5 ...
[info] Resolving org.fusesource.leveldbjni#leveldbjni-win64;1.5 ...
[info] Resolving com.google.protobuf#protobuf-java;2.5.0 ...
[info] Resolving com.amazonaws#aws-java-sdk;1.10.37 ...
[info] Resolving com.amazonaws#aws-java-sdk-support;1.10.37 ...
[info] Resolving com.amazonaws#aws-java-sdk-core;1.10.37 ...
[info] Resolving commons-logging#commons-logging;1.1.3 ...
[info] Resolving org.apache.httpcomponents#httpclient;4.3.6 ...
[info] Resolving org.apache.httpcomponents#httpcore;4.3.3 ...
[info] Resolving joda-time#joda-time;2.8.1 ...
[info] Resolving com.amazonaws#aws-java-sdk-simpledb;1.10.37 ...
[info] Resolving com.amazonaws#aws-java-sdk-simpleworkflow;1.10.37 ...
[info] Resolving com.amazonaws#aws-java-sdk-storagegateway;1.10.37 ...
[info] Resolving com.amazonaws#aws-java-sdk-route53;1.10.37 ...
[info] Resolving com.amazonaws#aws-java-sdk-s3;1.10.37 ...
[info] Resolving com.amazonaws#aws-java-sdk-kms;1.10.37 ...
[info] Resolving com.amazonaws#aws-java-sdk-importexport;1.10.37 ...
[info] Resolving com.amazonaws#aws-java-sdk-sts;1.10.37 ...
[info] Resolving com.amazonaws#aws-java-sdk-sqs;1.10.37 ...
[info] Resolving com.amazonaws#aws-java-sdk-rds;1.10.37 ...
[info] Resolving com.amazonaws#aws-java-sdk-redshift;1.10.37 ...
[info] Resolving com.amazonaws#aws-java-sdk-elasticbeanstalk;1.10.37 ...
[info] Resolving com.amazonaws#aws-java-sdk-glacier;1.10.37 ...
[info] Resolving com.amazonaws#aws-java-sdk-sns;1.10.37 ...
[info] Resolving com.amazonaws#aws-java-sdk-iam;1.10.37 ...
[info] Resolving com.amazonaws#aws-java-sdk-datapipeline;1.10.37 ...
[info] Resolving com.amazonaws#aws-java-sdk-elasticloadbalancing;1.10.37 ...
[info] Resolving com.amazonaws#aws-java-sdk-emr;1.10.37 ...
[info] Resolving com.amazonaws#aws-java-sdk-elasticache;1.10.37 ...
[info] Resolving com.amazonaws#aws-java-sdk-elastictranscoder;1.10.37 ...
[info] Resolving com.amazonaws#aws-java-sdk-ec2;1.10.37 ...
[info] Resolving com.amazonaws#aws-java-sdk-dynamodb;1.10.37 ...
[info] Resolving com.amazonaws#aws-java-sdk-cloudtrail;1.10.37 ...
[info] Resolving com.amazonaws#aws-java-sdk-cloudwatch;1.10.37 ...
[info] Resolving com.amazonaws#aws-java-sdk-logs;1.10.37 ...
[info] Resolving com.amazonaws#aws-java-sdk-cognitoidentity;1.10.37 ...
[info] Resolving com.amazonaws#aws-java-sdk-cognitosync;1.10.37 ...
[info] Resolving com.amazonaws#aws-java-sdk-directconnect;1.10.37 ...
[info] Resolving com.amazonaws#aws-java-sdk-cloudformation;1.10.37 ...
[info] Resolving com.amazonaws#aws-java-sdk-cloudfront;1.10.37 ...
[info] Resolving com.amazonaws#aws-java-sdk-kinesis;1.10.37 ...
[info] Resolving com.amazonaws#aws-java-sdk-opsworks;1.10.37 ...
[info] Resolving com.amazonaws#aws-java-sdk-ses;1.10.37 ...
[info] Resolving com.amazonaws#aws-java-sdk-autoscaling;1.10.37 ...
[info] Resolving com.amazonaws#aws-java-sdk-cloudsearch;1.10.37 ...
[info] Resolving com.amazonaws#aws-java-sdk-cloudwatchmetrics;1.10.37 ...
[info] Resolving com.amazonaws#aws-java-sdk-swf-libraries;1.10.37 ...
[info] Resolving com.amazonaws#aws-java-sdk-codedeploy;1.10.37 ...
[info] Resolving com.amazonaws#aws-java-sdk-codepipeline;1.10.37 ...
[info] Resolving com.amazonaws#aws-java-sdk-config;1.10.37 ...
[info] Resolving com.amazonaws#aws-java-sdk-lambda;1.10.37 ...
[info] Resolving com.amazonaws#aws-java-sdk-ecs;1.10.37 ...
[info] Resolving com.amazonaws#aws-java-sdk-cloudhsm;1.10.37 ...
[info] Resolving com.amazonaws#aws-java-sdk-ssm;1.10.37 ...
[info] Resolving com.amazonaws#aws-java-sdk-workspaces;1.10.37 ...
[info] Resolving com.amazonaws#aws-java-sdk-machinelearning;1.10.37 ...
[info] Resolving com.amazonaws#aws-java-sdk-directory;1.10.37 ...
[info] Resolving com.amazonaws#aws-java-sdk-efs;1.10.37 ...
[info] Resolving com.amazonaws#aws-java-sdk-codecommit;1.10.37 ...
[info] Resolving com.amazonaws#aws-java-sdk-devicefarm;1.10.37 ...
[info] Resolving com.amazonaws#aws-java-sdk-elasticsearch;1.10.37 ...
[info] Resolving com.amazonaws#aws-java-sdk-waf;1.10.37 ...
[info] Resolving com.amazonaws#aws-java-sdk-marketplacecommerceanalytics;1.10.37 ...
[info] Resolving com.amazonaws#aws-java-sdk-inspector;1.10.37 ...
[info] Resolving com.amazonaws#aws-java-sdk-iot;1.10.37 ...
[info] Resolving com.amazonaws#aws-java-sdk-api-gateway;1.10.37 ...
[info] Resolving REDACTED_NAME;15.08-SNAPSHOT ...
[info] Resolving REDACTED_NAME;15.08-SNAPSHOT ...
[info] Resolving REDACTED_NAME_2_2.11;1.3-SNAPSHOT ...
[info] Resolving REDACTED_NAME_2_2.11;1.3-SNAPSHOT ...
[info] Resolving ch.qos.logback#logback-classic;1.1.+ ...
[info] Resolving ch.qos.logback#logback-classic;1.1.+ ...
[info] Resolving ch.qos.logback#logback-core;1.1.7 ...
[info] Resolving org.slf4j#slf4j-api;1.7.20 ...
[info] Resolving com.typesafe.scala-logging#scala-logging_2.11;3.1.0 ...
[info] Resolving org.scalaz#scalaz-core_2.11;7.0.6 ...
[info] Resolving com.typesafe.play#play-test_2.11;2.4.0 ...
[info] Resolving junit#junit;4.12 ...
[info] Resolving org.hamcrest#hamcrest-core;1.3 ...
[info] Resolving com.novocode#junit-interface;0.11 ...
[info] Resolving org.scala-sbt#test-interface;1.0 ...
[info] Resolving com.google.code.findbugs#jsr305;2.0.3 ...
[info] Resolving org.fluentlenium#fluentlenium-core;0.10.3 ...
[info] Resolving org.seleniumhq.selenium#selenium-java;2.44.0 ...
[info] Resolving org.seleniumhq.selenium#selenium-chrome-driver;2.44.0 ...
[info] Resolving org.seleniumhq.selenium#selenium-remote-driver;2.44.0 ...
[info] Resolving cglib#cglib-nodep;2.1_3 ...
[info] Resolving com.google.code.gson#gson;2.3 ...
[info] Resolving org.seleniumhq.selenium#selenium-api;2.44.0 ...
[info] Resolving org.apache.commons#commons-exec;1.1 ...
[info] Resolving net.java.dev.jna#jna;3.4.0 ...
[info] Resolving net.java.dev.jna#platform;3.4.0 ...
[info] Resolving org.seleniumhq.selenium#selenium-htmlunit-driver;2.44.0 ...
[info] Resolving net.sourceforge.htmlunit#htmlunit;2.15 ...
[info] Resolving xalan#xalan;2.7.1 ...
[info] Resolving xalan#serializer;2.7.1 ...
[info] Resolving commons-collections#commons-collections;3.2.1 ...
[info] Resolving commons-collections#commons-collections;3.2.1 ...
[info] Resolving org.apache.commons#commons-parent;9 ...
[info] Resolving org.apache.commons#commons-parent;9 ...
[info] Resolving org.apache#apache;4 ...
[info] Resolving org.apache#apache;4 ...
[info] Resolving org.apache#apache;4 ...
[info] Resolving org.apache.commons#commons-parent;9 ...
[info] Resolving org.apache.commons#commons-parent;9 ...
[info] Resolving org.apache#apache;4 ...
[info] Resolving org.apache#apache;4 ...
[info] Resolving org.apache#apache;4 ...
[info] Resolving org.apache.commons#commons-parent;9 ...
[info] Resolving org.apache.commons#commons-parent;9 ...
[info] Resolving org.apache#apache;4 ...
[info] Resolving org.apache#apache;4 ...
[info] Resolving org.apache#apache;4 ...
[info] Resolving org.apache.httpcomponents#httpmime;4.3.3 ...
[info] Resolving net.sourceforge.htmlunit#htmlunit-core-js;2.15 ...
[info] Resolving net.sourceforge.nekohtml#nekohtml;1.9.21 ...
[info] Resolving net.sourceforge.cssparser#cssparser;0.9.14 ...
[info] Resolving org.w3c.css#sac;1.3 ...
[info] Resolving commons-io#commons-io;2.4 ...
[info] Resolving org.eclipse.jetty#jetty-websocket;8.1.15.v20140411 ...
[info] Resolving org.eclipse.jetty#jetty-util;8.1.15.v20140411 ...
[info] Resolving org.eclipse.jetty#jetty-io;8.1.15.v20140411 ...
[info] Resolving org.eclipse.jetty#jetty-http;8.1.15.v20140411 ...
[info] Resolving org.seleniumhq.selenium#selenium-firefox-driver;2.44.0 ...
[info] Resolving org.seleniumhq.selenium#selenium-ie-driver;2.44.0 ...
[info] Resolving org.seleniumhq.selenium#selenium-safari-driver;2.44.0 ...
[info] Resolving org.webbitserver#webbit;0.4.14 ...
[info] Resolving org.seleniumhq.selenium#selenium-support;2.44.0 ...
[info] Resolving com.github.dnvriend#akka-persistence-inmemory_2.11;1.0.1 ...
[info] Resolving com.typesafe.akka#akka-multi-node-testkit_2.11;2.3.11 ...
[info] Resolving com.typesafe.akka#akka-remote_2.11;2.3.11 ...
[info] Resolving org.uncommons.maths#uncommons-maths;1.2.2a ...
[info] Resolving com.typesafe.akka#akka-testkit_2.11;2.3.11 ...
[info] Resolving com.typesafe.play#play-specs2_2.11;2.4.0 ...
[info] Resolving org.specs2#specs2-core_2.11;3.6 ...
[info] Resolving org.specs2#specs2-matcher_2.11;3.6 ...
[info] Resolving org.specs2#specs2-common_2.11;3.6 ...
[info] Resolving org.scalaz#scalaz-core_2.11;7.1.1 ...
[info] Resolving org.scala-lang.modules#scala-parser-combinators_2.11;1.0.2 ...
[info] Resolving org.scala-lang.modules#scala-xml_2.11;1.0.2 ...
[info] Resolving org.scalaz#scalaz-concurrent_2.11;7.1.1 ...
[info] Resolving org.scalaz#scalaz-effect_2.11;7.1.1 ...
[info] Resolving org.scalaz.stream#scalaz-stream_2.11;0.7a ...
[info] Resolving org.scodec#scodec-bits_2.11;1.0.6 ...
[info] Resolving org.specs2#specs2-junit_2.11;3.6 ...
[info] Resolving org.specs2#specs2-mock_2.11;3.6 ...
[info] Resolving org.mockito#mockito-core;1.9.5 ...
[info] Resolving org.objenesis#objenesis;1.0 ...
[info] Resolving junit#junit;4.11 ...
[info] Resolving com.typesafe.play#play-omnidoc_2.11;2.4.0 ...
[info] Resolving com.typesafe.play#play-docs_2.11;2.4.0 ...
[info] Resolving com.typesafe.play#play-doc_2.11;1.2.2 ...
[info] Resolving org.pegdown#pegdown;1.4.0 ...
[info] Resolving org.parboiled#parboiled-java;1.1.5 ...
[info] Resolving org.parboiled#parboiled-core;1.1.5 ...
[info] Resolving org.ow2.asm#asm;4.1 ...
[info] Resolving org.ow2.asm#asm-tree;4.1 ...
[info] Resolving org.ow2.asm#asm-analysis;4.1 ...
[info] Resolving org.ow2.asm#asm-util;4.1 ...
[info] Resolving org.scala-lang#scala-compiler;2.11.6 ...
[info] Resolving org.scala-lang.modules#scala-xml_2.11;1.0.3 ...
[info] Resolving org.scala-lang.modules#scala-parser-combinators_2.11;1.0.3 ...
[info] Resolving jline#jline;2.12.1 ...
[warn] ::::::::::::::::::::::::::::::::::::::::::::::
[warn] :: UNRESOLVED DEPENDENCIES ::
[warn] ::::::::::::::::::::::::::::::::::::::::::::::
[warn] :: REDACTED_NAME;15.08-SNAPSHOT: several problems occurred while resolving dependency: REDACTED_NAME;15.08-SNAPSHOT {compile=[default(compile)]}:
[warn] Unable to load AWS credentials from any provider in the chain
[warn] Unable to load AWS credentials from any provider in the chain
[warn] :: REDACTED_NAME_2_2.11;1.3-SNAPSHOT: several problems occurred while resolving dependency: REDACTED_NAME_2_2.11;1.3-SNAPSHOT {compile=[default(compile)]}:
[warn] Unable to load AWS credentials from any provider in the chain
[warn] Unable to load AWS credentials from any provider in the chain
[warn] :: commons-collections#commons-collections;3.2.1: several problems occurred while resolving dependency: commons-collections#commons-collections;3.2.1 {compile=[compile(*), master(compile)], runtime=[runtime(*)]}:
[warn] several problems occurred while resolving dependency: org.apache.commons#commons-parent;9 {}:
[warn] Unable to load AWS credentials from any provider in the chain
[warn] Unable to load AWS credentials from any provider in the chain
[warn] Unable to load AWS credentials from any provider in the chain
[warn] Unable to load AWS credentials from any provider in the chain
[warn] Unable to load AWS credentials from any provider in the chain
[warn]
[warn] several problems occurred while resolving dependency: org.apache.commons#commons-parent;9 {}:
[warn] Unable to load AWS credentials from any provider in the chain
[warn] Unable to load AWS credentials from any provider in the chain
[warn] Unable to load AWS credentials from any provider in the chain
[warn] Unable to load AWS credentials from any provider in the chain
[warn] Unable to load AWS credentials from any provider in the chain
[warn]
[warn] several problems occurred while resolving dependency: org.apache.commons#commons-parent;9 {}:
[warn] Unable to load AWS credentials from any provider in the chain
[warn] Unable to load AWS credentials from any provider in the chain
[warn] Unable to load AWS credentials from any provider in the chain
[warn] Unable to load AWS credentials from any provider in the chain
[warn] Unable to load AWS credentials from any provider in the chain
[warn]
[warn] Unable to load AWS credentials from any provider in the chain
[warn] Unable to load AWS credentials from any provider in the chain
[warn] ::::::::::::::::::::::::::::::::::::::::::::::
[warn]
[warn] Note: Unresolved dependencies path:
[warn] com.playi:picommon-scala:15.08-SNAPSHOT (<REDACTED_PATH>/build.sbt#L35-51)
[warn] +- com.playi:hal-service:REDACTED
[warn] com.playi:pacman-api_2.11:1.3-SNAPSHOT (<REDACTED_PATH>/build.sbt#L35-51)
[warn] +- com.playi:hal-service:REDACTED
[warn] commons-collections:commons-collections:3.2.1
[warn] +- net.sourceforge.htmlunit:htmlunit:2.15
[warn] +- org.seleniumhq.selenium:selenium-htmlunit-driver:2.44.0
[warn] +- org.seleniumhq.selenium:selenium-java:2.44.0
[warn] +- org.fluentlenium:fluentlenium-core:0.10.3
[warn] +- com.typesafe.play:play-test_2.11:2.4.0 ((play.sbt.PlaySettings) PlaySettings.scala#L63)
[warn] +- com.typesafe.play:play-specs2_2.11:2.4.0 (<REDACTED_PATH>/build.sbt#L35-51)
[warn] +- com.playi:hal-service:REDACTED
[trace] Stack trace suppressed: run 'last *:update' for the full output.
[trace] Stack trace suppressed: run 'last *:ssExtractDependencies' for the full output.
[error] (*:update) sbt.ResolveException: unresolved dependency: REDACTED_NAME;15.08-SNAPSHOT: several problems occurred while resolving dependency: REDACTED_NAME;15.08-SNAPSHOT {compile=[default(compile)]}:
[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] unresolved dependency: REDACTED_NAME_2_2.11;1.3-SNAPSHOT: several problems occurred while resolving dependency: REDACTED_NAME_2_2.11;1.3-SNAPSHOT {compile=[default(compile)]}:
[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] unresolved dependency: commons-collections#commons-collections;3.2.1: several problems occurred while resolving dependency: commons-collections#commons-collections;3.2.1 {compile=[compile(*), master(compile)], runtime=[runtime(*)]}:
[error] several problems occurred while resolving dependency: org.apache.commons#commons-parent;9 {}:
[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.apache.commons#commons-parent;9 {}:
[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.apache.commons#commons-parent;9 {}:
[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] (*:ssExtractDependencies) sbt.ResolveException: unresolved dependency: REDACTED_NAME;15.08-SNAPSHOT: several problems occurred while resolving dependency: REDACTED_NAME;15.08-SNAPSHOT {compile=[default(compile)]}:
[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] unresolved dependency: REDACTED_NAME_2_2.11;1.3-SNAPSHOT: several problems occurred while resolving dependency: REDACTED_NAME_2_2.11;1.3-SNAPSHOT {compile=[default(compile)]}:
[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] unresolved dependency: commons-collections#commons-collections;3.2.1: several problems occurred while resolving dependency: commons-collections#commons-collections;3.2.1 {compile=[compile(*), master(compile)], runtime=[runtime(*)]}:
[error] several problems occurred while resolving dependency: org.apache.commons#commons-parent;9 {}:
[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.apache.commons#commons-parent;9 {}:
[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.apache.commons#commons-parent;9 {}:
[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] Total time: 24 s, completed Apr 11, 2016 4:21:28 PM
 
5 comments

Update: I tried to import in IntelliJ 15, and am getting the same problem. IntelliJ IDEA 14 CE works just fine.

0

It does look similar. It's definitely not loading environment variables, but it's also not picking up the ~/.aws/credentials file.

http://docs.aws.amazon.com/aws-sdk-php/v2/guide/credentials.html#using-the-aws-credentials-file-and-credential-profiles

 

Is IntelliJ running these tasks as another user instead of myself?

0

The user is the same, but dealing with environment variables on Mac could be tricky for non-console applications.

0

Well, it's not just a problem with environment variables, it seems like. If the AWS SDK can't find the proper environment variables, it will look for a file located at `~/.aws/credentials`. Seems like it is not able to do this, either. If there's anything I can do to help test this, let me know.

0

Please sign in to leave a comment.