添加新的Tomcat添加不进去,报错:
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.0
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.0
server.built=Jan 10 2017 21:02:52 UTC
如下图:
重新添加即可。