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