天天看點

Mac下安裝TomCat啟動出錯:Cannot find ./catalina.sh The file is absent or does not have execute permission Th

Mac下安裝TomCat後 啟動出錯:

Cannot find ./catalina.sh

The file is absent or does not have execute permission

This file is needed to run this program

解決方法:

  • 指令行切換到TomCat的bin目錄下,按順序執行以下指令:

    *.sh是所有檔案

chmod +x *.sh
sh catalina.sh 通過
sh startup.sh 啟動成功
           

繼續閱讀