diff --git a/pom.xml b/pom.xml
index f17197e265..c59aa70cbc 100644
--- a/pom.xml
+++ b/pom.xml
@@ -141,7 +141,7 @@
3.2.1
${project.build.directory}
- @{argLine} -Djava.net.preferIPv4Stack=true
+ @{argLine} -Djava.net.preferIPv4Stack=true --add-opens=java.base/sun.security.x509=ALL-UNNAMED