首页 > 代码库 > 启动tomcat的Cannot find ./catalina.sh 的问题

启动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 的问题