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)


---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at [email protected] or file a JIRA ticket
with INFRA.
---

Reply via email to