启动tomcat 服务报command not found

1、在linu上部署好tomcat后,启动时报错:

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

This file is needed to run this program 


2、解决办法:

对启动脚本添加执行权限

chmod 777 catalina.sh

chmod 777  startup.sh


猜你喜欢

转载自blog.csdn.net/qq_37929849/article/details/79859170