近日在啟動Tomcat下的sh文件時報錯,報錯如下:
Cannot find ./catalina.shThe file is absent or does not have execute permissionThis file is needed to run this program
解決方法:
在tomcat 的bin目錄下 執(zhí)行這條命令chmod +x *.sh
再次執(zhí)行 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目錄下 執(zhí)行這條命令chmod +x *.sh
再次執(zhí)行 sh catalina.sh
通過材部,然后用sh startup.sh
啟動成功