Browse Source

修改支持测试案例时`unnamed module` 报错

developing
Jiaju Zhuang 5 months ago
parent
commit
5844e5f84e
  1. 1
      easyexcel-test/pom.xml

1
easyexcel-test/pom.xml

@ -71,6 +71,7 @@
<groupId>org.apache.maven.plugins</groupId> <groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-surefire-plugin</artifactId> <artifactId>maven-surefire-plugin</artifactId>
<configuration> <configuration>
<argLine>--add-opens=java.base/java.lang=ALL-UNNAMED --add-opens=java.base/java.util=ALL-UNNAMED</argLine>
<includes> <includes>
<include>/com/alibaba/easyexcel/test/core/**/*.java</include> <include>/com/alibaba/easyexcel/test/core/**/*.java</include>
</includes> </includes>

Loading…
Cancel
Save