diff --git a/samples/client/petstore/java/resttemplate/pom.xml b/samples/client/petstore/java/resttemplate/pom.xml
index dd2d23b6cc02..89e156d6a294 100644
--- a/samples/client/petstore/java/resttemplate/pom.xml
+++ b/samples/client/petstore/java/resttemplate/pom.xml
@@ -283,7 +283,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