这是由于idea配置原因 #这是由于IDEA的编码设置问题,打开IDEA-HELP,选择Edit custom VM Options #添加代码 #-Dfile.encoding=UTF-8 重启idea即可