关于启动Tomcat乱码问题的解决

 在startup/connection页设置JAVA_TOOL_OPTIONS为-Dfile.encoding=UTF-8

另外还需要修改IDEA的安装目录下:JetBrains\IntelliJ IDEA 2016.3\bin中配置文件idea.exe.vmoptions,

在该文件中最后面加上:-Dfile.encoding=UTF-8

然后重启IDEA,启动所配置的项目即可。

posted @ 2017-08-16 18:25  AlexanderTheGreat  阅读(205)  评论(0编辑  收藏  举报