读书人

hudson持续集成编码有关问题

发布时间: 2012-10-29 10:03:53 作者: rapoo

hudson持续集成编码问题

转自http://blog.163.com/starfish_yang/blog/static/68625685201104312243/

?

现象1:在系统设置中提示:Your container doesn't use UTF-8 to decode URLs. If you use non-ASCII characters as a job name etc, this will cause problems. See Containers??and Tomcat i18n for more details.

现象2:在新建项目时,设置Repository URL如果还有中文,会提示错误。

?

想修复这个问题,可以在 Tomcat 的服务器配置文件中添加 URIEncoding 属性。
这个文件在下面的路径中可以找到。
$TOMCAT_HOME/conf/server.xml.
修改下面的内容?
<Connector port="8080" URIEncoding="UTF-8"/>

读书人网 >编程

热点推荐