IntelliJ IDEA控制台打印日志乱码解决

配置tomcat

打开tomcat配置界面添加如下内容
-Dfile.encoding=UTF-8
如图所示:
IntelliJ IDEA控制台打印日志乱码解决

配置文件的修改

IntelliJ IDEA本地安装目录中bin文件夹下的idea.exe.vmoptions和idea64.exe.vmoptions
在两个文件的末尾添加
-Dfile.encoding=UTF-8
如图所示:
IntelliJ IDEA控制台打印日志乱码解决
IntelliJ IDEA控制台打印日志乱码解决
IntelliJ IDEA控制台打印日志乱码解决

相关文章:

  • 2021-05-05
  • 2021-12-15
  • 2021-08-08
  • 2021-09-04
  • 2021-12-03
  • 2021-12-05
  • 2021-12-07
  • 2021-12-23
猜你喜欢
  • 2021-08-04
  • 2021-07-07
  • 2021-06-05
  • 2021-12-03
  • 2022-12-23
相关资源
相似解决方案