springboot3项目处理excel不管是poi框架或者是EasyExcel。idea运行正常,用GraalVM把项目打包成exe项目运行出现UnsupportedCharsetException:CP1252错误
可以在pom里加上:-H:+AddAllCharsets
<plugin>
<groupId>org.graalvm.buildtools</groupId>
<artifactId>native-maven-plugin</artifactId>
<configuration>
<buildArgs combine.children="append">
<buildArg>--enable-url-protocols=http</buildArg>
<buildArg>-H:+AddAllCharsets</buildArg>
</buildArgs>
</configuration>
</plugin>
``