首页 > 代码库 > ubuntu启动tomcat出错解决方案

ubuntu启动tomcat出错解决方案

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

Cannot find ./catalina.shThe file is absent or does not have execute permissionThis file is needed to run this program

解决方案如下:

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

 

ubuntu启动tomcat出错解决方案