Description
112 | Active | 80 | 2.12.0 | Curator Client
113 | Active | 80 | 2.12.0 | Curator Framework
114 | Active | 80 | 2.12.0 | Curator Recipes
CuratorFramework client = CuratorFrameworkFactory.newClient("localhost:2181", new RetryOneTime(1000));
Caused by: java.lang.NoClassDefFoundError: org/apache/curator/shaded/com/google/common/cache/CacheBuilder at org.apache.curator.framework.imps.NamespaceWatcherMap.<init>(NamespaceWatcherMap.java:31) ~[?:?] at org.apache.curator.framework.imps.CuratorFrameworkImpl.<init>(CuratorFrameworkImpl.java:81) ~[?:?] at org.apache.curator.framework.CuratorFrameworkFactory$Builder.build(CuratorFrameworkFactory.java:145) ~[?:?] at org.apache.curator.framework.CuratorFrameworkFactory.newClient(CuratorFrameworkFactory.java:100) ~[?:?] at org.apache.curator.framework.CuratorFrameworkFactory.newClient(CuratorFrameworkFactory.java:81) ~[?:?]
curator-framework sources
import com.google.common.cache.CacheBuilder;
but jar contains
import org.apache.curator.shaded.com.google.common.cache.CacheBuilder;
Attachments
Issue Links
- supercedes
-
CURATOR-440 curator-framework is unable to load in OSGi
- Resolved
- links to