diff --git a/spring-boot-project/spring-boot-actuator-autoconfigure/pom.xml b/spring-boot-project/spring-boot-actuator-autoconfigure/pom.xml
index 4cc4720154d..9783a666d28 100644
--- a/spring-boot-project/spring-boot-actuator-autoconfigure/pom.xml
+++ b/spring-boot-project/spring-boot-actuator-autoconfigure/pom.xml
@@ -557,7 +557,7 @@
org.glassfish.jersey.ext
- jersey-spring4
+ jersey-spring5
test
diff --git a/spring-boot-project/spring-boot-actuator/pom.xml b/spring-boot-project/spring-boot-actuator/pom.xml
index d23566a73f0..e667322d927 100644
--- a/spring-boot-project/spring-boot-actuator/pom.xml
+++ b/spring-boot-project/spring-boot-actuator/pom.xml
@@ -367,7 +367,7 @@
org.glassfish.jersey.ext
- jersey-spring4
+ jersey-spring5
test
diff --git a/spring-boot-project/spring-boot-autoconfigure/pom.xml b/spring-boot-project/spring-boot-autoconfigure/pom.xml
index 0c54068ba16..1237d4dd153 100755
--- a/spring-boot-project/spring-boot-autoconfigure/pom.xml
+++ b/spring-boot-project/spring-boot-autoconfigure/pom.xml
@@ -186,7 +186,7 @@
org.glassfish.jersey.ext
- jersey-spring4
+ jersey-spring5
true
diff --git a/spring-boot-project/spring-boot-dependencies/pom.xml b/spring-boot-project/spring-boot-dependencies/pom.xml
index f1b25ade908..6a41f9ba835 100644
--- a/spring-boot-project/spring-boot-dependencies/pom.xml
+++ b/spring-boot-project/spring-boot-dependencies/pom.xml
@@ -2254,6 +2254,11 @@
import
pom
+
+ org.glassfish.jersey.ext
+ jersey-spring5
+ ${jersey.version}
+
org.hamcrest
hamcrest
diff --git a/spring-boot-project/spring-boot-docs/pom.xml b/spring-boot-project/spring-boot-docs/pom.xml
index de23c7c4314..2001a7b6c91 100644
--- a/spring-boot-project/spring-boot-docs/pom.xml
+++ b/spring-boot-project/spring-boot-docs/pom.xml
@@ -669,7 +669,7 @@
org.glassfish.jersey.ext
- jersey-spring4
+ jersey-spring5
true
diff --git a/spring-boot-project/spring-boot-starters/spring-boot-starter-jersey/pom.xml b/spring-boot-project/spring-boot-starters/spring-boot-starter-jersey/pom.xml
index 6295d218504..5c63beb67a4 100644
--- a/spring-boot-project/spring-boot-starters/spring-boot-starter-jersey/pom.xml
+++ b/spring-boot-project/spring-boot-starters/spring-boot-starter-jersey/pom.xml
@@ -93,7 +93,7 @@
org.glassfish.jersey.ext
- jersey-spring4
+ jersey-spring5
org.jvnet