diff --git a/packaging/hudi-spark-bundle/pom.xml b/packaging/hudi-spark-bundle/pom.xml
index 698cc534d080..d6a5eb692461 100644
--- a/packaging/hudi-spark-bundle/pom.xml
+++ b/packaging/hudi-spark-bundle/pom.xml
@@ -29,6 +29,7 @@
true
${project.parent.basedir}
+ 3.1.0
@@ -80,6 +81,7 @@
org.apache.hudi:hudi-timeline-service
org.apache.hudi:hudi-aws
+ javax.servlet:javax.servlet-api
com.beust:jcommander
io.javalin:javalin
@@ -138,6 +140,10 @@
+
+ javax.servlet.
+ org.apache.hudi.javax.servlet.
+
org.apache.spark.sql.avro.
org.apache.hudi.org.apache.spark.sql.avro.
@@ -378,6 +384,12 @@
hive-service
${hive.version}
${spark.bundle.hive.scope}
+
+
+ servlet-api
+ javax.servlet
+
+
@@ -426,6 +438,13 @@
curator-recipes
${zk-curator.version}
+
+
+ javax.servlet
+ javax.servlet-api
+ ${javax.servlet.version}
+
+