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

近日在启动Tomcat下的sh文件时报错,报错如下:

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

解决方法:

在tomcat 的bin目录下 执行这条命令
chmod +x *.sh
再次执行 sh catalina.sh通过,
然后用sh startup.sh启动成功

非常感谢这位朋友:http://blog.csdn.net/home_zhang/article/details/8178471

你可能感兴趣的:(Cannot find ./catalina.sh The file is absent or does not have execute permission)