Mac 中啟動tomcat報Cannot find ./catalina.sh The file is absent or does not have execute permission


在使用Mac 啟動tomcat中報,沒有權限。

Cannot find ./catalina.sh
The file is absent or does not have execute permission

執行更改

sudo chmod 777 catalina.sh

 具體操作如下:

-bash-3.2$ cd bin/
-bash-3.2$ sudo sh startup.sh
Password:
Cannot find ./catalina.sh
The file is absent or does not have execute permission
This file is needed to run this program

-bash-3.2$ sudo chmod 777 catalina.sh
-bash-3.2$ sudo sh startup.sh

Tomcat started.

  


免責聲明!

本站轉載的文章為個人學習借鑒使用,本站對版權不負任何法律責任。如果侵犯了您的隱私權益,請聯系本站郵箱yoyou2525@163.com刪除。



 
粵ICP備18138465號   © 2018-2025 CODEPRJ.COM