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 @ 2016-09-22 13:44  这个名字想了很久~  阅读(18088)  评论(0编辑  收藏  举报