解决IDEA运行tomcat时控制台乱码问题

  1. 打开Run/Debug Configuration,选择你的tomcat
  2. 然后在 Server > VM options 设置为 -Dfile.encoding=UTF-8 ,重启tomcat

转自:

http://www.cnblogs.com/vhua/p/idea_1.html

猜你喜欢

转载自blog.csdn.net/yanzel/article/details/79607012