[
https://issues.apache.org/jira/browse/HBASE-22345?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16831792#comment-16831792
]
Sakthi commented on HBASE-22345:
--------------------------------
oh yes! We shouldn't be including these in the internal-only shaded protocol or
the shaded-clients. But I think we need to change the comment accordingly as
now we are getting in the annotation module for 8 as well?
{code:java}
<!-- exclude J2EE modules that come in for JDK11+ -->
{code}
Yeah, jersey 2.25.1 uses the 1.2 version. Will change it & test.
{quote}how do we catch this in the future? is it worth the work of adding a
REST server to the nightly test that uses a cluster for simple operations?
{quote}
Nice idea. But I think as that would be an improvement task(to proactively
catch future such issue) we can track it in a separate jira.
> 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
> Attachments: hbase-22345.master.001.patch
>
>
> 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)