执行启动tomcat命令./startup.sh
提示
Cannot find ./catalina.sh
The file is absent or does not have execute permission
This file is needed to run this program
问题原因:没有给bin目录下的文件授权可执行权限:
chmod +x bin/*.sh
然后用sh startup.sh启动成功
本文介绍了一种常见的Tomcat启动失败问题,即执行startup.sh时出现Cannot find catalina.sh错误。原因是bin目录下文件缺少执行权限,通过使用chmod +x bin/*.sh命令赋予执行权限后,问题得以解决。
执行启动tomcat命令./startup.sh
提示
Cannot find ./catalina.sh
The file is absent or does not have execute permission
This file is needed to run this program
问题原因:没有给bin目录下的文件授权可执行权限:
chmod +x bin/*.sh
然后用sh startup.sh启动成功
转载于:https://www.cnblogs.com/hwaggLee/p/5454576.html
2064
720
3万+

被折叠的 条评论
为什么被折叠?