打开tomcat安装目录:apache-tomcat-8.5.6\lib 找到catalina.jar

用解压缩工具打开 org/apache/catalina/util/ServerInfo.properties

将:

 

server.info=Apache Tomcat/8.5.6
server.number=8.5.6.0
server.built=Oct 6 2016 20:15:31 UTC

改为:

server.info=Apache Tomcat/8.0.8.5.6
server.number=8.5.6.0
server.built=Oct 6 2016 20:15:31 UTC



然后重新添加tomcat,完成!
gongzhonghao
关注“小K前端杂谈”,得到更多学习资源