jackrabbit-oak-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Francesco Mari (JIRA)" <j...@apache.org>
Subject [jira] [Assigned] (OAK-6542) java.lang.NoClassDefFoundError: com/codahale/metrics/Reservoir
Date Tue, 07 Nov 2017 10:29:00 GMT

     [ https://issues.apache.org/jira/browse/OAK-6542?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

Francesco Mari reassigned OAK-6542:
-----------------------------------

    Assignee: Francesco Mari  (was: Andrei Dulceanu)

> java.lang.NoClassDefFoundError: com/codahale/metrics/Reservoir
> --------------------------------------------------------------
>
>                 Key: OAK-6542
>                 URL: https://issues.apache.org/jira/browse/OAK-6542
>             Project: Jackrabbit Oak
>          Issue Type: Bug
>          Components: segment-tar
>    Affects Versions: 1.7.5
>            Reporter: Olivier Lamy (*$^¨%`£)
>            Assignee: Francesco Mari
>             Fix For: 1.8, 1.7.12
>
>
> Upgrading to last 1.7.5.
> I get this exception
> java.lang.NoClassDefFoundError: com/codahale/metrics/Reservoir
> 	at org.apache.jackrabbit.oak.segment.SegmentNodeStore.<init>(SegmentNodeStore.java:166)
> 	at org.apache.jackrabbit.oak.segment.SegmentNodeStore.<init>(SegmentNodeStore.java:63)
> 	at org.apache.jackrabbit.oak.segment.SegmentNodeStore$SegmentNodeStoreBuilder.build(SegmentNodeStore.java:121)
> Looking at the pom the dependency has a scope provided (http://repo.maven.apache.org/maven2/org/apache/jackrabbit/oak-segment-tar/1.7.5/oak-segment-tar-1.7.5.pom)
IMHO it's a wrong dependency scope at it's definitely needed as there is no usage of reflection
to avoid loading of the classes



--
This message was sent by Atlassian JIRA
(v6.4.14#64029)

Mime
View raw message