解决eclipse添加不了tomcat8的问题
A Tomcat 8.0 installation is expected
eclipse添加tomcat出现 The Apache Tomcat installation at this directory is version 8.5.6. A Tomcat 8.0 installation is expected.
A:打开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.3.0
server.built=Jun 9 2016 11:16:29 UTC
改为:
server.info=Apache Tomcat/8.0.8.5.6
server.number=8.5.3.0
server.built=Jun 9 2016 11:16:29 UTC
然后重启 eclipe 重新添加tomcat
温馨提示:
jdk1.8需要tomcat8以上 不然编译不了jsp