启动Tomcat控制台中文乱码解决

修改Tomcat/bin/catclina.sh

JAVA_OPTS="-Dfile.encoding=UTF-8"


# ----- Execute The Requested Command ----- #

找到Execute The Requested Command 这行,修改上面的JAVA_OPTS设值,添加-Dfile.encoding=UTF-8

如需转载,请注明出处: https://chadou.me/p/81

最新发布