在启动tomcat时,在run中出现的中文乱码
IDEA启动tomcat时出现中文乱码解决方案
解决方案:
在tomcat配置下–>Server–>VM options设置为-Dfile.encoding=UTF-8
IDEA启动tomcat时出现中文乱码解决方案
如果没有用,在tomcat配置下–>Startup/Connection中设置JAVA_TOOL_OPTIONS 和-Dfile.encoding=UTF-8
IDEA启动tomcat时出现中文乱码解决方案
如果还没用,最终在IDEA的安装目录下找到bin中的idea.exe.vmoptions和idea64.exe.vmoptions中都添加
-Dfile.encoding=UTF-8IDEA启动tomcat时出现中文乱码解决方案

相关文章:

  • 2021-06-03
  • 2021-11-10
  • 2021-06-25
  • 2021-11-14
  • 2021-08-01
  • 2021-10-10
  • 2021-09-23
猜你喜欢
  • 2021-11-15
  • 2022-12-23
  • 2021-09-29
  • 2021-10-29
  • 2021-06-03
  • 2021-11-21
  • 2021-09-21
相关资源
相似解决方案