java.lang.NoSuchMethodError: com.google.common.cache.CacheBuilder.build(Lcom/google/common/cache/CacheLoader;)Lcom/google/common/cache/LoadingCache;

GitHub | jiacheo | 4 years ago
tip
Click on the to mark the solution that helps you, Samebug will learn from it.
As a community member, you’ll be rewarded for you help.
  1. 0

    java.lang.NoSuchMethodError: com.google.common.cache.CacheBuilder.build

    GitHub | 4 years ago | jiacheo
    java.lang.NoSuchMethodError: com.google.common.cache.CacheBuilder.build(Lcom/google/common/cache/CacheLoader;)Lcom/google/common/cache/LoadingCache;

    Root Cause Analysis

    1. java.lang.NoSuchMethodError

      com.google.common.cache.CacheBuilder.build(Lcom/google/common/cache/CacheLoader;)Lcom/google/common/cache/LoadingCache;

      at com.netflix.curator.framework.imps.NamespaceFacadeCache.<init>()
    2. com.netflix.curator
      CuratorFrameworkFactory.newClient
      1. com.netflix.curator.framework.imps.NamespaceFacadeCache.<init>(NamespaceFacadeCache.java:37)
      2. com.netflix.curator.framework.imps.CuratorFrameworkImpl.<init>(CuratorFrameworkImpl.java:156)
      3. com.netflix.curator.framework.CuratorFrameworkFactory$Builder.build(CuratorFrameworkFactory.java:121)
      4. com.netflix.curator.framework.CuratorFrameworkFactory.newClient(CuratorFrameworkFactory.java:90)
      5. com.netflix.curator.framework.CuratorFrameworkFactory.newClient(CuratorFrameworkFactory.java:75)
      5 frames