将server.xml中的连接器配置替换
<Connector executor="tomcatThreadPool" port="8080" protocol="HTTP/1.1" connectionTimeout="20000" redirectPort="8443" />
改为
<Connector URIEncoding="UTF8" connectionTimeout="20000" port="8080" protocol="org.apache.coyote.http11.Http11NioProtocol" redirectPort="8443"/>
如果还有错误,检查自己的tomcat版本和comet4j-tomcat7.jar或者comet4j-tomcat6.jar是不是对应的。