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.

  

posted @ 2018-12-06 12:48  Qingyun_Qearl  阅读(1936)  评论(0)    收藏  举报