项目场景:Cannot find ./catalina.sh
The file is absent or does not have execute permission
This file is needed to run this program
问题描述
从tomcat官网上下载了apache-tomcat-10.0.27在window xp系统里面解压以后,直接放在了linux服务器上。
进入tomcat/bin目录,执行启动的时候出现如下错误:
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启动成功