Eclipse-->Preferences MyEclipse--> Window -->Preferences 搜索关键词 context type 点击右边的Text,选择java Properties File File associatios: 添加文件格式 *.jsp Default encoding: 默认格式改成utf8 update 转载于:https://www.cnblogs.com/m97i/p/6910606.html