> +com.google.inject.ConfigurationException: Guice configuration errors:
> +
> +1) No implementation for org.jclouds.rackspace.cloudfiles.v1.CloudFilesApi
> was bound.
> + while locating org.jclouds.rackspace.cloudfiles.v1.CloudFilesApi
> + ...
> +```
> +
> +This is caused by a misconfiguration when creating a view or api.
> +
> +{% highlight java %}
> +CloudFilesApi cloudFilesApi = ContextBuilder.newBuilder("openstack-swift")
> + .credentials(username, apiKey)
> + .buildApi(CloudFilesApi.class);
> +{% endhighlight %}
> +
> +The provider String you pass to `ContextBuilder.newBuilder(String)` must
> match the view or api you are creating.
> The first comment calls the code below a "misconfiguration"
I see what you mean. I was commenting because I originally considered that
comment to refer to the error _above_ rather than the code _below_. Perhaps
simply end with "...when creating a view or api:" (i.e. with a colon),
indicating that the comment refers also to the subsequent code sample?
---
Reply to this email directly or view it on GitHub:
https://github.com/jclouds/jclouds-site/pull/94/files#r12264611