diff --git a/samples/spring-data-jdbc/postgresql/pom.xml b/samples/spring-data-jdbc/postgresql/pom.xml
index 1a53393d0..4d370b307 100644
--- a/samples/spring-data-jdbc/postgresql/pom.xml
+++ b/samples/spring-data-jdbc/postgresql/pom.xml
@@ -120,7 +120,7 @@
net.bytebuddy
byte-buddy-agent
- 1.17.8
+ 1.18.1
test
diff --git a/samples/spring-data-mybatis/googlesql/pom.xml b/samples/spring-data-mybatis/googlesql/pom.xml
index 2a3211d21..40c1a7caf 100644
--- a/samples/spring-data-mybatis/googlesql/pom.xml
+++ b/samples/spring-data-mybatis/googlesql/pom.xml
@@ -114,7 +114,7 @@
net.bytebuddy
byte-buddy-agent
- 1.17.8
+ 1.18.1
test
diff --git a/samples/spring-data-mybatis/postgresql/pom.xml b/samples/spring-data-mybatis/postgresql/pom.xml
index a324b7e79..897b34e29 100644
--- a/samples/spring-data-mybatis/postgresql/pom.xml
+++ b/samples/spring-data-mybatis/postgresql/pom.xml
@@ -111,7 +111,7 @@
net.bytebuddy
byte-buddy-agent
- 1.17.8
+ 1.18.1
test