代码改变世界

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

2017-06-28 00:21  faunjoe88  阅读(2485)  评论(0编辑  收藏  举报

从终端进入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启动成功