Linux安装tomcat后启动报错Cannot find ./catalina.sh的解决方法

Linux安装tomcat后启动报错:

Cannot find ./catalina.sh
The file is absent or does not have execute permission
This file is needed to run this program

原因:无权限

解决方法:

chmod 777 /opt/apache-tomcat-7.0.109/*
chmod 777 /opt/apache-tomcat-7.0.109/*/*
chmod 777 /opt/apache-tomcat-7.0.109/*/*/*
posted on 2022-09-22 10:38  骑着母猪去打猎  阅读(310)  评论(0编辑  收藏  举报