[
https://issues.apache.org/jira/browse/HBASE-22345?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16831048#comment-16831048
]
Sakthi commented on HBASE-22345:
--------------------------------
Have submitted a patch with moving out the javax-annotations dependency out of
the jdk 11 build profile as we need it for jdk 8 also now. Hence removing the
part where the java-annotations was excluded citing "Exclude J2EE libraries
that get pulled in when building on JDK11" as comment.
Test done: - mvn clean package assembly:single -DskipTests
[Compile Version/Run Version] JDK8/JDK8, JDK8/JDK11, JDK11/JDK11 rest server
starts up with no hiccups.
> 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)