启动tomcat 服务报 The file is absent or does not have execute permission

原因:部分文件没有可以执行的权限

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  *.sh

你可能感兴趣的:(运维,tomcat,java)