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

    原文作者:梦沉薇露
    原文地址: https://www.jianshu.com/p/9c7f087e1c72
    本文转自网络文章,转载此文章仅为分享知识,如有侵权,请联系博主进行删除。
点赞