You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@curator.apache.org by "Jordan Zimmerman (JIRA)" <ji...@apache.org> on 2017/04/28 13:14:04 UTC

[jira] [Closed] (CURATOR-403) Curator framework incompatible with guava 21

     [ https://issues.apache.org/jira/browse/CURATOR-403?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Jordan Zimmerman closed CURATOR-403.
------------------------------------
    Resolution: Invalid

This keeps coming up for some reason. Guava is now shaded into Curator 3.3.0 and 2.12.0. I've proved that this works here: https://github.com/Randgalt/curator-guava-example

> Curator framework incompatible with guava 21
> --------------------------------------------
>
>                 Key: CURATOR-403
>                 URL: https://issues.apache.org/jira/browse/CURATOR-403
>             Project: Apache Curator
>          Issue Type: Bug
>          Components: Framework
>    Affects Versions: 3.3.0, 2.12.0
>            Reporter: Vladimir Dergachev
>
> Guava version 21 incompatible with curator framework. Now it uses version 16.0.1 of guava, and compatible up to version 20 inclusive. To reproduce a problem just put 21 version in dependencies management and you will get message like this in runtime.
> {code}
> Caused by: java.lang.NoSuchMethodError: com.google.common.util.concurrent.MoreExecutors.sameThreadExecutor()Lcom/google/common/util/concurrent/ListeningExecutorService;
> 	at org.apache.curator.framework.listen.ListenerContainer.addListener(ListenerContainer.java:41)
> {code}



--
This message was sent by Atlassian JIRA
(v6.3.15#6346)