点击tomcat配置–Edit Configuration
在VM options 输入
第二步-Dfile.encoding=utf8
点击help–打开Edit Custom VM Options
输入下面的代码
-Dfile.encoding=utf8
最后一定要重启IDEA。

点击tomcat配置–Edit Configuration
在VM options 输入
第二步-Dfile.encoding=utf8
点击help–打开Edit Custom VM Options
输入下面的代码
-Dfile.encoding=utf8
最后一定要重启IDEA。