DEA新版本,這里以2019.2.3為例

菜單 Help -> Edit Custom VM Options...,文件末尾添加:-Dfile.encoding=UTF-8

Run/Debug Configurations(就是通常配置tomcat那里) VM Options:-Dfile.encoding=UTF-8

重新啟動idea即可解決亂碼
DEA新版本,這里以2019.2.3為例

菜單 Help -> Edit Custom VM Options...,文件末尾添加:-Dfile.encoding=UTF-8

Run/Debug Configurations(就是通常配置tomcat那里) VM Options:-Dfile.encoding=UTF-8

重新啟動idea即可解決亂碼
本站轉載的文章為個人學習借鑒使用,本站對版權不負任何法律責任。如果侵犯了您的隱私權益,請聯系本站郵箱yoyou2525@163.com刪除。