Hi Luca, Trying to resolve the dependencies by downloading them individually will be very time consuming. I suggest using Maven.
1. If you're unfamiliar with Maven, use Maven in 5 Minutes [1] to get started. 2. Copy this pom.xml [2] to your working directory. 3. mvn dependency:copy-dependencies "-DoutputDirectory=./lib" You should be able to continue the guide from that point on. Let us know if that works for you and I'll update the OpenStack Getting Started Guide. Thanks, Everett [1] http://maven.apache.org/guides/getting-started/maven-in-five-minutes.html [2] https://gist.github.com/everett-toews/8318536 On Jan 8, 2014, at 8:31 AM, Luca Maderna wrote: Hi Andrew I've downloaded manually some jars in order to compile JCloudsNova class (http://jclouds.apache.org/documentation/quickstart/openstack/), but whn I try to run the example class a NoSuchMethodError has been raised: java.lang.NoSuchMethodError: com.google.common.collect.ImmutableSet.builder()Lcom/google/common/collect/ImmutableSet$Builder; at org.jclouds.providers.Providers.all(Providers.java:84) at org.jclouds.providers.Providers.withId(Providers.java:101) at org.jclouds.ContextBuilder.newBuilder(ContextBuilder.java:166) at client.JCloudsNova.init(JCloudsNova.java:50) at client.JCloudsNova.main(JCloudsNova.java:31) thanks luke P.S.: I usually use ant in my project not maven 2014/1/8 Andrew Phillips <[email protected]<mailto:[email protected]>> ---------- 1) org.apache.jclouds:jclouds-all:jar:1.7.0 Try downloading the file manually from the project website. This file certainly *is* in Maven Central: http://repo1.maven.org/maven2/org/apache/jclouds/jclouds-all/1.7.0/jclouds-all-1.7.0.pom Could you try downloading this simply from a browser, or from the command line? If that works, could you try running your Ant build again? If that *also* doesn't work, do you perhaps have a firewall or so blocking connections? ap
