在使用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.