diff --git a/samples/client/petstore/java/retrofit2-play24/pom.xml b/samples/client/petstore/java/retrofit2-play24/pom.xml
index e03677f9467..856278b8337 100644
--- a/samples/client/petstore/java/retrofit2-play24/pom.xml
+++ b/samples/client/petstore/java/retrofit2-play24/pom.xml
@@ -273,7 +273,7 @@
${java.version}
1.8.0
1.5.18
- 2.10.1
+ 2.21.2
2.4.11
2.3.0
1.0.1