diff --git a/samples/client/petstore/java/resttemplate-withXml/pom.xml b/samples/client/petstore/java/resttemplate-withXml/pom.xml
index 473667b8ed93..7acc87bc60f2 100644
--- a/samples/client/petstore/java/resttemplate-withXml/pom.xml
+++ b/samples/client/petstore/java/resttemplate-withXml/pom.xml
@@ -295,7 +295,7 @@
2.17.1
2.17.1
0.2.6
- 5.3.33
+ 6.1.14
1.3.5
2.0.2
5.10.2