[ 
https://issues.apache.org/jira/browse/CURATOR-464?focusedWorklogId=425241&page=com.atlassian.jira.plugin.system.issuetabpanels:worklog-tabpanel#worklog-425241
 ]

ASF GitHub Bot logged work on CURATOR-464:
------------------------------------------

                Author: ASF GitHub Bot
            Created on: 20/Apr/20 08:33
            Start Date: 20/Apr/20 08:33
    Worklog Time Spent: 10m 
      Work Description: bigmarvin commented on issue #355:
URL: https://github.com/apache/curator/pull/355#issuecomment-616396688


   Thanks for the comments, @Randgalt, and that merge does surprise me too...
   
   I've proposed another MR to address the points you raised, in 
https://github.com/apache/curator/pull/362, so we could continue discussion 
there.


----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
[email protected]


Issue Time Tracking
-------------------

    Worklog Id:     (was: 425241)
    Time Spent: 0.5h  (was: 20m)

> Unable to instantiate client in OSGi
> ------------------------------------
>
>                 Key: CURATOR-464
>                 URL: https://issues.apache.org/jira/browse/CURATOR-464
>             Project: Apache Curator
>          Issue Type: Bug
>          Components: Framework
>    Affects Versions: 2.12.0
>            Reporter: Alexey Markevich
>            Priority: Major
>             Fix For: 5.0.0
>
>          Time Spent: 0.5h
>  Remaining Estimate: 0h
>
> {quote}
> 112 | Active  |  80 | 2.12.0         | Curator Client
> 113 | Active  |  80 | 2.12.0         | Curator Framework
> 114 | Active  |  80 | 2.12.0         | Curator Recipes
> {quote}
> {code}
> CuratorFramework client = CuratorFrameworkFactory.newClient("localhost:2181", 
> new RetryOneTime(1000));
> {code}
> {noformat}
> 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)
>  ~[?:?]
> {noformat}
> curator-framework sources
> {code}
> import com.google.common.cache.CacheBuilder;
> {code}
> but jar contains
> {code}
> import org.apache.curator.shaded.com.google.common.cache.CacheBuilder;
> {code}



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

Reply via email to