Looks like a classpath conflict. Do you have a version of guava besides 11.0 in your classpath?
--
You received this message because you are subscribed to the Google Groups "jclouds" group.
To post to this group, send email to jcl...@googlegroups.com.
To unsubscribe from this group, send email to jclouds+u...@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/jclouds?hl=en.
http://code.google.com/p/jclouds/issues/detail?id=781
which is about supporting a new Guava release that uses the
LoadingCache class (which you can't seem to find) instead of Cache.
Could you look at your project dependencies and see which version(s)
of com.google.guava:guava you have (the JAR will be called
'guava-...jar')?
Here's the output of me running 'mvn dependency:list' from
jclouds/apis/nova. Version 11 is what you are looking for...
[INFO] --- maven-dependency-plugin:2.1:list (default-cli) @ nova ---
[INFO]
[INFO] The following files have been resolved:
[INFO] aopalliance:aopalliance:jar:1.0:compile
[INFO] cglib:cglib-nodep:jar:2.1_3:test
[INFO] com.beust:jcommander:jar:1.12:test
[INFO] com.github.technomancy:swank-clojure:jar:1.2.1:test
[INFO] com.google.code.findbugs:jsr305:jar:1.3.9:compile
[INFO] com.google.code.gson:gson:jar:1.7.2:compile
[INFO] com.google.guava:guava:jar:11.0:compile
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
...
[INFO] org.yaml:snakeyaml:jar:1.6:test
Thanks!
ap
> The jar of my classpath:
>
> guava-10.0.1.jar
> guice-3.0.jar
> javax.inject.jar
> aopaliance-alpha1.jar
> jclouds-compute-1.3.0-rc-1.jar
> jclouds-core-1.3.0-rc1.jar
> jclouds-jsch-1.3.0-rc1.jar
> jclouds-sshj-1.3.0-rc1.jar
> nova-1.3.0-rc-1.jar
> openstack-common-1.3.0-rc-1.jar
>
> Can you help me find out where I was wrong?
How did you set up your project? Are you using Maven, or did you
create a project in Eclipse, or..?
Thanks!
ap
Like Andrew mentioned, would be great to know if there's a issue, but in case you may just be picking jars... http://search.maven.org/#artifactdetails%7Ccom.google.guava%7Cguava%7C11.0%7Cjar