文章目录
以下两种方法均亲测有效
- 在项目的配置文件中配置
<project>
……
<properties>
<!--加上这一行-->
<argLine>-Dfile.encoding=UTF-8</argLine>
</properties>
……
<project>
……
<properties>
<!--加上这一行-->
<argLine>-Dfile.encoding=UTF-8</argLine>
</properties>
……