default encode为CP1252,显示中文会变成乱码 解决方案:Windows- >Pereferences- >Workspace- >Text File Encoding 选项下选择other,然后输入"GBK"即可