Run -> Edit Configurations ,在图示位置加入-Dfile.encoding=gbk 转载于:https://www.cnblogs.com/qujialin/p/10615105.html