原因:配置文件中的字符集和開發工具使用的字符集不一致 yml或其他的配置文件中 messages: basename: i18n/messages encoding: utf-8 開發工具idea的字符集設置: