原因:定位到../conf/server.xml中
<Connector port="8020" protocol="org.apache.coyote.http11.Http11NioProtocol" executor="tomcatThreadPool" connectionTimeout="20000" URIEncoding="UTF-8" enableLookups="false" redirectPort="8443" disableUploadTimeout="true" /> 修改上面代码为: <Connector port="8020" protocol="HTTP/1.1" connectionTimeout="20000" redirectPort="8443" /> 问题解决
时间: 2024-10-06 14:43:13