This is an automated email from the ASF dual-hosted git repository.
Apache9 pushed a commit to branch branch-2
in repository https://gitbox.apache.org/repos/asf/hbase.git
The following commit(s) were added to refs/heads/branch-2 by this push:
new 8ba814fc2a8 HBASE-30328 Missing javax.annotation dependency causes
webui start up error when building with hadoop2 (#8546)
8ba814fc2a8 is described below
commit 8ba814fc2a8a606e707e1c5a434975eda00913b2
Author: Duo Zhang <[email protected]>
AuthorDate: Wed Aug 12 09:41:22 2026 +0800
HBASE-30328 Missing javax.annotation dependency causes webui start up error
when building with hadoop2 (#8546)
Signed-off-by: Andrew Purtell <[email protected]>
Signed-off-by: Xiao Liu <[email protected]>
Signed-off-by: Peng Lu <[email protected]>
Signed-off-by: Nihal Jain <[email protected]>
---
hbase-server/pom.xml | 5 +++++
1 file changed, 5 insertions(+)
diff --git a/hbase-server/pom.xml b/hbase-server/pom.xml
index 0eda79a9a44..c523464b856 100644
--- a/hbase-server/pom.xml
+++ b/hbase-server/pom.xml
@@ -190,6 +190,11 @@
<groupId>javax.servlet.jsp</groupId>
<artifactId>javax.servlet.jsp-api</artifactId>
</dependency>
+ <!-- Jersey need this, as javax.annotation.Priority is not included in
JDK8 -->
+ <dependency>
+ <groupId>javax.annotation</groupId>
+ <artifactId>javax.annotation-api</artifactId>
+ </dependency>
<!-- General dependencies -->
<dependency>
<groupId>com.github.stephenc.findbugs</groupId>