diff --git a/easyexcel-test/pom.xml b/easyexcel-test/pom.xml
index 8c540b22..0b8eb98e 100644
--- a/easyexcel-test/pom.xml
+++ b/easyexcel-test/pom.xml
@@ -71,6 +71,7 @@
org.apache.maven.plugins
maven-surefire-plugin
+ --add-opens=java.base/java.lang=ALL-UNNAMED --add-opens=java.base/java.util=ALL-UNNAMED
/com/alibaba/easyexcel/test/core/**/*.java