tomcat 修改容器编码

启动hudson、jenkins等提示 Your container doesn't use UTF-8 to decode URLs。。。。

在tomcat\conf\server.xml文件中找到

<Connector port="8080" protocol="HTTP/1.1" 
               connectionTimeout="20000" 
               redirectPort="8443" URIEncoding="UTF-8"/>

 添加URIEncoding="UTF-8"如此配置即可.

相关推荐