终端使用命令 sudo 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
修改方法,在tomcat的bin目录下执行命令,chmod +x *.sh
然后重新使用sudo sh startup.sh启动即可。
终端使用命令 sudo 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
修改方法,在tomcat的bin目录下执行命令,chmod +x *.sh
然后重新使用sudo sh startup.sh启动即可。