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