报错:The Apache Tomcat installation at this directory is version 8.5.5. A Tomcat 8.0 installation is

Eclipse添加tomcat出现 The Apache Tomcat installation at this directory is version 8.5.6. A Tomcat 8.0 installation is expected.
打开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,完成!

学习资料:百度网盘提取

链接:https://pan.baidu.com/s/1JEYq4Lo8aEms7ClPIchLsA?pwd=dt4z 
提取码:dt4z 

你可能感兴趣的:(JAVA基础,web服务器,JavaSE,tomcat,apache,java,java,零基础)