【Tomcat學習】如何檢視Tomcat版本號?
進入Tomcat/bin目錄下,Shift + 右鍵->在此處開啟命令提示框,開啟命令提示符視窗,輸入命令version.bat,就可以看到如下結果
D:\apache-tomcat-8.5.31\bin>version.bat
Using CATALINA_BASE: “D:\apache-tomcat-8.5.31”
Using CATALINA_HOME: “D:\apache-tomcat-8.5.31”
Using CATALINA_TMPDIR: “D:\apache-tomcat-8.5.31\temp”
Using JRE_HOME: “D:\Program Files (x86)\jdk1.8.0_77\jre”
Using CLASSPATH: “D:\apache-tomcat-8.5.31\bin\bootstrap.jar;D:\apache-tomc
at-8.5.31\bin\tomcat-juli.jar”
Server version: Apache Tomcat/8.5.31
Server built: Apr 27 2018 20:24:25 UTC
Server number: 8.5.31.0
OS Name: Windows 7
OS Version: 6.1
Architecture: amd64
JVM Version: 1.8.0_77-b03
JVM Vendor: Oracle Corporation
根據輸出我們可以知道Tomcat版本號:Apache Tomcat/8.5.31