天天看点

Mac下安装TomCat启动出错:Cannot find ./catalina.sh The file is absent or does not have execute permission Th

Mac下安装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目录下,按顺序执行以下命令:

    *.sh是所有文件

chmod +x *.sh
sh catalina.sh 通过
sh startup.sh 启动成功
           

继续阅读