注意:如果出现IDEA启动tomcat报Unable to ping server at localhost:1099,可能是之前修改了starup.bat,修改不当,建议卸载之后重新安装。解决乱码问题只需要修改logging.properties 就可以了。关于重新下载tomcat出现A service with the given,https://blog.youkuaiyun.com/Phoenix_e/article/details/121377344有解决方法。
版本:Tomcat8.5
找到tomcat目录下:/conf/logging.properties
将文件中所有encoding = UTF-8改为encoding = GBK
日志正常输出