run->edit configurations VM options输入:-Dfile.encoding=UTF-8 apply->ok。重启idea 转载于:https://my.oschina.net/1143111355/blog/865586