Cannot find ./catalina.sh The file is absent or does not hav

linux中启动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目录下执行:

chmod +x *.sh

再次执行:

sh catalina.sh  

在这里插入图片描述

猜你喜欢

转载自blog.csdn.net/huo_wa/article/details/117414670
今日推荐