linux下启动tomcat出现“This file is needed to run this program ”没有权限

使用sh startup.sh启动tomcat 出现This file is needed to run this program  

原因.sh文件都不是可执行文件,于是找到命令:

chmod +x *.sh  

chmod +x *.sh再次执行 sh catalina.sh通过,然后用sh startup.sh成功启动

posted @ 2021-09-13 11:13  cxq前  阅读(378)  评论(0编辑  收藏  举报