diff --git a/example-wikipedia-with-springboot/pom.xml b/example-wikipedia-with-springboot/pom.xml
index cd6a6a8b..b2b423ec 100644
--- a/example-wikipedia-with-springboot/pom.xml
+++ b/example-wikipedia-with-springboot/pom.xml
@@ -30,6 +30,9 @@
${project.basedir}/..
+ 17
+
+ true
@@ -37,7 +40,7 @@
org.springframework.cloud
spring-cloud-dependencies
- 2021.0.5
+ 2022.0.1
pom
import
diff --git a/example-wikipedia-with-springboot/src/main/java/example/wikipedia/WikipediaApplication.java b/example-wikipedia-with-springboot/src/main/java/example/wikipedia/WikipediaApplication.java
index 53bac2ae..a01aa789 100644
--- a/example-wikipedia-with-springboot/src/main/java/example/wikipedia/WikipediaApplication.java
+++ b/example-wikipedia-with-springboot/src/main/java/example/wikipedia/WikipediaApplication.java
@@ -16,8 +16,8 @@ package example.wikipedia;
import example.wikipedia.WikipediaClient.Page;
import example.wikipedia.WikipediaClient.Response;
import example.wikipedia.WikipediaClient.Wikipedia;
+import jakarta.annotation.PostConstruct;
import java.util.Iterator;
-import javax.annotation.PostConstruct;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;