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
文章讲述了在Linux环境下启动Tomcat项目时遇到的Cannotfind和没有执行权限错误,解决方法是通过在bin目录下使用chmod命令赋予.sh文件执行权限。
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
3万+
1320
208

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