[
https://issues.apache.org/jira/browse/HBASE-22345?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16831643#comment-16831643
]
Sean Busbey commented on HBASE-22345:
-------------------------------------
{code}
diff --git a/pom.xml b/pom.xml
index
11b3df4dcc49898ecaf84eb5ff024d2c57c9247e..8a4e29522e8bbe6b9f5e64cad35a0b47bacd54e3
100755
--- a/pom.xml
+++ b/pom.xml
@@ -1991,6 +1991,11 @@
<artifactId>javax.activation</artifactId>
<version>1.2.0</version>
</dependency>
+ <dependency>
+ <groupId>javax.annotation</groupId>
+ <artifactId>javax.annotation-api</artifactId>
+ <version>1.3.2</version>
+ </dependency>
<dependency>
<groupId>org.eclipse.jetty</groupId>
<artifactId>jetty-server</artifactId>
@@ -2304,11 +2309,6 @@
</activation>
<dependencyManagement>
<dependencies>
- <dependency>
- <groupId>javax.annotation</groupId>
- <artifactId>javax.annotation-api</artifactId>
- <version>1.3.2</version>
- </dependency>
<dependency>
<groupId>com.sun.xml.ws</groupId>
<artifactId>jaxws-ri</artifactId>
{code}
Should we make this match what jersey expects rather than the latest? I only
picked latest when building the jdk11 profile because I didn't realize we had a
transitive need.
> 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)