首页 > 技术文章 > ubuntu启动tomcat出错解决方案

sunyj 2016-11-17 11:33 原文

从终端进入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启动成功

 

推荐阅读