liunx下tomcat启动 Cannot find ./catalina.sh

执行启动tomcat命令./startup.sh

提示

Cannot find ./catalina.sh
The file is absent or does not have execute permission
This file is needed to run this program

问题原因:没有给bin目录下的文件授权可执行权限:

chmod +x bin/*.sh

然后用sh startup.sh启动成功

posted @ 2016-05-03 12:41  243573295  阅读(466)  评论(0编辑  收藏  举报