[
https://issues.apache.org/jira/browse/CURATOR-440?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16241648#comment-16241648
]
ASF GitHub Bot commented on CURATOR-440:
----------------------------------------
GitHub user kghost opened a pull request:
https://github.com/apache/curator/pull/241
Shadow guava packages inside curator-framework
Fix: CURATOR-440
You can merge this pull request into a Git repository by running:
$ git pull https://github.com/kghost/curator CURATOR-440
Alternatively you can review and apply these changes as the patch at:
https://github.com/apache/curator/pull/241.patch
To close this pull request, make a commit to your master/trunk branch
with (at least) the following in the commit message:
This closes #241
----
commit 27810239f76ce8fba9714e543287ba9a8026f6fe
Author: Zang MingJie <[email protected]>
Date: 2017-11-07T07:54:32Z
Shadow guava packages inside curator-framework
Fix: CURATOR-440
----
> curator-framework is unable to load in OSGi
> -------------------------------------------
>
> Key: CURATOR-440
> URL: https://issues.apache.org/jira/browse/CURATOR-440
> Project: Apache Curator
> Issue Type: Bug
> Components: Framework
> Affects Versions: 4.0.0
> Reporter: zealot
>
> {code:java}
> java.lang.NoClassDefFoundError:
> org/apache/curator/shaded/com/google/common/cache/CacheLoader
>
> at
> org.apache.curator.framework.CuratorFrameworkFactory$Builder.<init>(CuratorFrameworkFactory.java:148)
> ~[171:curator-framework:4.0.0]
> at
> org.apache.curator.framework.CuratorFrameworkFactory$Builder.<init>(CuratorFrameworkFactory.java:130)
> ~[171:curator-framework:4.0.0]
> at
> org.apache.curator.framework.CuratorFrameworkFactory.builder(CuratorFrameworkFactory.java:78)
> ~[171:curator-framework:4.0.0]
> at
> org.apache.curator.framework.CuratorFrameworkFactory.newClient(CuratorFrameworkFactory.java:104)
> ~[171:curator-framework:4.0.0]
> at
> org.apache.curator.framework.CuratorFrameworkFactory.newClient(CuratorFrameworkFactory.java:90)
> ~[171:curator-framework:4.0.0]
> {code}
--
This message was sent by Atlassian JIRA
(v6.4.14#64029)