近日在启动Tomcat下的sh文件时报错,报错如下:
Cannot find ./catalina.shThe file is absent or does not have execute permissionThis file is needed to run this program
解决方法:
在tomcat 的bin目录下 执行这条命令chmod +x *.sh
再次执行 sh catalina.sh
通过,然后用sh startup.sh
启动成功
近日在启动Tomcat下的sh文件时报错,报错如下:
Cannot find ./catalina.shThe file is absent or does not have execute permissionThis file is needed to run this program
解决方法:
在tomcat 的bin目录下 执行这条命令chmod +x *.sh
再次执行 sh catalina.sh
通过,然后用sh startup.sh
启动成功