[
https://issues.apache.org/jira/browse/JCLOUDS-1074?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15346446#comment-15346446
]
Olivier Voortman commented on JCLOUDS-1074:
-------------------------------------------
I think sticking with an outdated version of guava is not a good idea.
People will want to upgrade to the latest guava version.
I personally don't care, but some of my dependencies require a more recent
version.
If it's not possible, maybe you could repackage the correct version inside your
own jar files?
> Compatibility with Guava 20
> ---------------------------
>
> Key: JCLOUDS-1074
> URL: https://issues.apache.org/jira/browse/JCLOUDS-1074
> Project: jclouds
> Issue Type: Bug
> Components: jclouds-core
> Affects Versions: 2.0.0
> Reporter: Olivier Voortman
> Labels: guava
>
> Hello,
> It seems jclouds is still using some deprecated methods from the Guava
> library, which are now removed from version 20.0-SNAPSHOT.
> For example :
> java.lang.NoSuchMethodError:
> com.google.common.reflect.TypeToken.isAssignableFrom(Lcom/google/common/reflect/TypeToken;)Z
> Used here :
> org.jclouds.apis.Apis$1.apply(Apis.java:134)
> See removal of those methods from Guava here :
> https://github.com/google/guava/commit/f001be54c2e3676d39623942e96b97699d42467a
> This should be quite easy to fix.
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)