1.点击鼠标右键出现一个Run As 点击run configurations, 点击common然后是改写Enconding里的other你的有可能没有gbk,没关系你自己输入gbk完了以后 run 就行。 希望能帮到你!