Idea启动Tomcat控制台乱码

it2024-10-03  36

解决乱码问题

1.idea设置为utf-8 settings->Editor->File Encodings

2.编辑tomcat设置为-Dfile.encoding=UTF-8 3.重启项目即可

最新回复(0)