您的位置:首页 > 博客中心 > 互联网 >

日语系统tomcat 控制台中文乱码

时间:2022-05-11 11:11

1 idea 

  File 》 Settings 》Editor 》File Endcoding 》  UTF-8

2 idea 》 Edit Configuration

  tomcat Server 》VM options 》-Dfile.encoding=UTF-8

3 tomcat\conf 》logging.properties

  UTF-8 》 GBK

4 IntelliJ IDEA 2021.1.1\bin 》idea.exe.vmoptions

  添加 -Dfile.encoding=UTF-8

5 IntelliJ IDEA 2021.1.1\bin 》idea64.exe.vmoptions

  添加 -Dfile.encoding=UTF-8

6 计算机设置 》时间和语言 》语言 》 管理语言设置 》更改系统区域设置

  中文简体

7 重启电脑 tomcat idea 

本类排行

今日推荐

热门手游