在Linux上启动Tomcat报错并提示:Cannot find ./catalina.sh
The file is absent or does not have execute permission
This file is needed to run this program

解决方法:
1.查看tomcat的bin目录下的执行权限,如果权限不够,执行以下命令:

chmod +x *.sh

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

2.再次执行

./startup.sh

执行成功如图:
Cannot find ./catalina.sh The file is absent or does not have execute permission This file is needed

相关文章: