ubuntu启动tomcat出错解决方案

从终端进入tomcat的bin目录,然后执行startup.sh,出现以下异常:

Cannot find ./catalina.sh

The file is absent or does not have execute permission

This file is needed to run this program

解决方案如下:

在tomcat 的bin目录下 
执行 chmod +x *.sh  
然后用sh startup.sh启动成功

 

posted @ 2016-11-17 11:33  青春岁月,无怨无悔  阅读(441)  评论(0编辑  收藏  举报