eclipse中添加tomcat8报错:
The Apache Tomcat installation at this directory is version 8.5.11. A Tomcat 8.0 installation is expected.
解决:
打开tomcat安装目录:apache-tomcat-8.5.11lib 找到catalina.jar
用解压缩工具打开 org/apache/catalina/util/ServerInfo.properties
将:
server.info=Apache Tomcat/8.5.11
server.number=8.5.11
server.built=Jan 10 2017 21:02:52 UTC
改为:
#server.info=Apache Tomcat/8.5.11
server.info=Apache Tomcat/8.0.0
server.number=8.5.11
server.built=Jan 10 2017 21:02:52 UTC
参考:
http://blog.csdn.net/u013066244/article/details/52838169
版权声明:本文为m0_67390963原创文章,遵循 CC 4.0 BY-SA 版权协议,转载请附上原文出处链接和本声明。