diff --git a/error-prone-contrib/pom.xml b/error-prone-contrib/pom.xml
index cc442db207..385f0867ac 100644
--- a/error-prone-contrib/pom.xml
+++ b/error-prone-contrib/pom.xml
@@ -201,7 +201,7 @@
org.openrewrite
- rewrite-java-11
+ rewrite-java-17
test