tomcat启动报错

来源:互联网 发布:淘宝捡漏 编辑:程序博客网 时间:2024/06/07 15:15

终端使用命令 sudo sh startup.sh启动tomcat报错:

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

然后重新使用sudo sh startup.sh启动即可。

原创粉丝点击