启动tomcat的Cannot find ./catalina.sh 的问题

Posted

tags:

篇首语:本文由小常识网(cha138.com)小编为大家整理,主要介绍了启动tomcat的Cannot find ./catalina.sh 的问题相关的知识,希望对你有一定的参考价值。

从终端进入tomcat的bin目录,然后执行startup.sh

 

Cannot find bin/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 startup.sh启动成功

以上是关于启动tomcat的Cannot find ./catalina.sh 的问题的主要内容,如果未能解决你的问题,请参考以下文章

linux系统中启动tomcat报错Cannot find /root/tomcat/bin/setclasspath.sh

Cannot find tomcat目录/bin/setclasspath.sh This file is needed to run this program

tomcat报错:Wrapper cannot find servlet class ...

docker运行tomcat报错Cannot find /usr/local/tomcat/bin/setclasspath.sh

docker运行tomcat报错Cannot find /usr/local/tomcat/bin/setclasspath.sh

Tomcat报错:HTTP Status 500 - Wrapper cannot find servlet class