[
https://issues.apache.org/jira/browse/CURATOR-378?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15925269#comment-15925269
]
ASF GitHub Bot commented on CURATOR-378:
----------------------------------------
Github user hdeadman commented on the issue:
https://github.com/apache/curator/pull/204
They deleted at least one method in guava 21 that curator is still using. I
am trying to use http://github.com/apereo/cas with spring-cloud-zookeeper and I
need to use an older version of guava or I get a NoSuchMethodError error. I can
probably get away with using an older version of guava in CAS but it would be
nice if curator worked with 21.
```java
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)
~[curator-framework-2.10.0.jar:?]
at
org.apache.curator.framework.imps.CuratorFrameworkImpl.start(CuratorFrameworkImpl.java:257)
~[curator-framework-2.10.0.jar:?]
at
org.springframework.cloud.zookeeper.ZookeeperAutoConfiguration.curatorFramework(ZookeeperAutoConfiguration.java:70)
~[spring-cloud-zookeeper-core-1.0.3.RELEASE.jar:1.0.3.RELEASE]
```
Here is where they deleted the deprecated method: [Guava
commit](https://github.com/google/guava/commit/f67ab864bde63fa6602b5688de0440957ffeaa2e#diff-7a493427c77df959295f1d55574dbd50)
> Dependency Refresh
> ------------------
>
> Key: CURATOR-378
> URL: https://issues.apache.org/jira/browse/CURATOR-378
> Project: Apache Curator
> Issue Type: Test
> Components: Client, Framework, Recipes
> Reporter: Jordan Zimmerman
> Assignee: Fangmin Lv
> Priority: Minor
>
> It's about time we update the versions of our dependencies. Get the latest
> Apache parent POM, Maven plugins, etc.
--
This message was sent by Atlassian JIRA
(v6.3.15#6346)