從終端進入tomcat的bin目錄,然后執行startup.sh
Cannot find bin/catalina.sh
The file is absent or does not have execute permission
This file is needed to run this program
其實這里是權限,
解決方法:
依舊在tomcat 的bin目錄下
執行 chmod +x *.sh
然后用sh startup.sh啟動成功