diff --git a/samples/client/petstore/java/resttemplate/pom.xml b/samples/client/petstore/java/resttemplate/pom.xml
index f5b77cc1e71..bf1cb54a19a 100644
--- a/samples/client/petstore/java/resttemplate/pom.xml
+++ b/samples/client/petstore/java/resttemplate/pom.xml
@@ -235,7 +235,7 @@
UTF-8
1.5.8
4.3.7.RELEASE
- 2.8.8
+ 2.11.2
2.9.4
1.0.0
4.12