博客
关于我
强烈建议你试试无所不能的chatGPT,快点击我
tomcat启动控制台中文乱码问题解决方法
阅读量:4134 次
发布时间:2019-05-25

本文共 280 字,大约阅读时间需要 1 分钟。

tomcat启动控制台中文乱码问题解决方法,修改tomcat安装路径/conf/logging.properties文件

java.util.logging.ConsoleHandler.encoding = UTF-8

修改为

java.util.logging.ConsoleHandler.encoding = GBK

 

另种修改方法为修改tomcat安装路径/bin/catalina.bat文件,增加

set JAVA_OPTS=-Xms512m -Xmx1024m -XX:MaxPermSize=1024m -Dfile.encoding=UTF8

转载地址:http://pqivi.baihongyu.com/

你可能感兴趣的文章
Danganronpa HDU - 5835(贪心)
查看>>
Super-palindrome(思维)
查看>>
Hakase and Nano(博弈)
查看>>
Master of GCD(差分数组||线段树)
查看>>
[SCOI2015]情报传递(主席树+lca)
查看>>
[SDOI2013]森林(树上主席树+启发式合并+lca)
查看>>
George and Job(动态规划)
查看>>
Covered Points Count(离散化+差分)
查看>>
Three displays(贪心)
查看>>
The World is a Theatre(组合数学)
查看>>
Easy Problem(动态规划)
查看>>
Remove Extra One(思维)
查看>>
Statues(三维bfs)
查看>>
Mike and distribution(思维)
查看>>
Make a Permutation!(思维)
查看>>
Divide by three, multiply by two(dfs)
查看>>
Consecutive Subsequence(最长上升子序列)
查看>>
Equalize the Remainders(set二分+思维)
查看>>
Alyona and Spreadsheet(思维)
查看>>
PolandBall and Forest(并查集)
查看>>