diff --git a/samples/java-contract/build.gradle b/samples/java-contract/build.gradle
index f70e1da..11fa9e3 100644
--- a/samples/java-contract/build.gradle
+++ b/samples/java-contract/build.gradle
@@ -25,7 +25,7 @@ dependencies {
     testImplementation 'org.junit.jupiter:junit-jupiter:5.7.2'
 
     // This dependency is used by the application.
-    implementation 'com.google.guava:guava:30.1.1-jre'
+    implementation 'com.google.guava:guava:33.3.0-jre'
 }
 
 application {