Linux下启动tomcat出现“This file is needed to run this program ”

部署tomcat 6.0.20,使用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成功启动

猜你喜欢

转载自www.cnblogs.com/wy20110919/p/9053585.html