首页 > 技术文章 > liunx下tomcat启动 Cannot find ./catalina.sh

hwaggLee 原文

执行启动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启动成功

推荐阅读