diff --git a/spring-boot-project/spring-boot-actuator-autoconfigure/pom.xml b/spring-boot-project/spring-boot-actuator-autoconfigure/pom.xml
index 4cc4720154..9783a666d2 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 d23566a73f..e667322d92 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 0c54068ba1..1237d4dd15 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 f1b25ade90..6a41f9ba83 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 de23c7c431..2001a7b6c9 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 6295d21850..5c63beb67a 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