[
https://issues.apache.org/jira/browse/HBASE-22345?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16830775#comment-16830775
]
Sakthi commented on HBASE-22345:
--------------------------------
Discussed with Sean offline. Looks like Priority class was dropped from
javax-annotations 1.2. Also the
org.glassfish.jersey.core:jersey-common:jar:2.25.1 is pulling in
javax.annotation:javax.annotation-api:jar:1.2. We skip the javax.annotations
jar from the /lib while assembly, but jersey expects it to be available and
hence it fails to start the rest server.
> Rest Server throws NoClassDefFoundError : javax/annotation/Priority on
> JDK8/JDK8
> --------------------------------------------------------------------------------
>
> Key: HBASE-22345
> URL: https://issues.apache.org/jira/browse/HBASE-22345
> Project: HBase
> Issue Type: Bug
> Reporter: Sakthi
> Assignee: Sakthi
> Priority: Minor
>
> When compiled and run with JDK8, Rest server throws NoClassDefFoundError:
> javax/annotation/Priority
>
> Need to add in the correct dependency version or upgrade the appropriate rest
> component.
--
This message was sent by Atlassian JIRA
(v7.6.3#76005)