命令行启动tomcat服务器,提示Cannot find ./catalina.sh

版权声明:本文为博主原创文章,未经博主允许不得转载。 https://blog.csdn.net/xuejiaodream/article/details/78989921

问题:tomcat/bin目录执行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
解决方法:对./catalina.sh没有访问权限,在tomcat/bin目录执行
chmod +x *.sh后,再启动就会成功

展开阅读全文

没有更多推荐了,返回首页