1. 程式人生 > >The Apache Tomcat installation at this directory is version 8.5.24 Tomcat 8.0 installation is expec

The Apache Tomcat installation at this directory is version 8.5.24 Tomcat 8.0 installation is expec

在MyEclipse中安裝tomcat8.5.24時,報錯:
The Apache Tomcat installation at this directory is version 8.5.24.  A Tomcat 8.0 installation is expected.

解決辦法:
Windows中
①在Tomcat的安裝目錄中找到lib目錄,再找到catalina.jar。使用壓縮軟體(WinRAR或是好壓)開啟它。
②依次找到並雙擊開啟org\apache\catalina\util\ServerInfo.properties 檔案
server.info=Apache Tomcat/8.5.24
server.number=8.5.24
server.built=Oct 6 2016 20:15:31 UTC
改為:
#Apache Tomcat/8.5.24
server.info=Apache Tomcat/8.0.0
server.number=8.0.0
server.built=Oct 6 2017 20:15:31 UTC