1、从eclipse的windows->preference 2、参照如下图,添加指定的utf-8编码方式 转载于:https://www.cnblogs.com/aziji/p/9353693.html