diff --git a/extensions/spark/kyuubi-spark-authz-shaded/pom.xml b/extensions/spark/kyuubi-spark-authz-shaded/pom.xml
index d7bfd3db819..0cc69d1b9c9 100644
--- a/extensions/spark/kyuubi-spark-authz-shaded/pom.xml
+++ b/extensions/spark/kyuubi-spark-authz-shaded/pom.xml
@@ -92,6 +92,10 @@
com.sun.ws.rs.ext
${kyuubi.shade.packageName}.com.sun.ws.rs.ext
+
+ javax.ws.rs
+ ${kyuubi.shade.packageName}.javax.ws.rs
+
com.kstruct.gethostname4j
${kyuubi.shade.packageName}.com.kstruct.gethostname4j
diff --git a/extensions/spark/kyuubi-spark-authz/pom.xml b/extensions/spark/kyuubi-spark-authz/pom.xml
index f420b338600..038869adb2f 100644
--- a/extensions/spark/kyuubi-spark-authz/pom.xml
+++ b/extensions/spark/kyuubi-spark-authz/pom.xml
@@ -106,12 +106,6 @@
com.sun.jersey
jersey-client
${jersey.client.version}
-
-
- javax.ws.rs
- jsr311-api
-
-