天天看點

指令行啟動tomcat伺服器,提示Cannot find ./catalina.sh

問題:tomcat/bin目錄執行sh ./startup.sh啟動tomcat,提示如下

Cannot find ./catalina.sh

The file is absent or does not have execute permission

This file is needed to run this program

解決方法:對./catalina.sh沒有通路權限,在tomcat/bin目錄執行

chmod +x *.sh後,再啟動就會成功