近日在启动Tomcat下的sh文件时报错,报错如下:
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 catalina.sh
通过,
然后用sh startup.sh
启动成功
非常感谢这位朋友:http://blog.csdn.net/home_zhang/article/details/8178471
网友评论