简介:
在启动jar的时候添加一个配置 -Dfile.encoding=utf-8;例:
java -Dfile.encoding=utf-8 -jar xxxxtest-0.1.jar
微信扫码关注DEMO程序园公众号