You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@jclouds.apache.org by Andrew Phillips <an...@apache.org> on 2014/04/28 17:05:35 UTC

Re: Errors while creating EC2 specific API Clients when using jclouds 1.7.1 - No implementation bound for @com.google.inject.name.Named at bindImageSupplier.

> builder = ContextBuilder
>           .newBuilder(new AWSEC2ApiMetadata.Builder().build())
>           .credentials(awsCredentials.getAccessKey(),
> awsCredentials.getSecretKey())
>           .modules(ImmutableSet.<Module> of(new SshjSshClientModule()));

Could you try simply with .newBuilder("aws-ec2") in the above code  
snippet? And jclouds 1.7.2 is out, by the way - not that I expect that  
to change what you're seeing, though.

Regards

ap