mac tomcat 配置sh: startup.sh: No such file or directory

解压、重命名Tomcat, 放到Library(资源库)目录下了,
sudo chmod 755 /Library/Tomcat/bin/*.sh
sudo chmod 755 /Library/Tomcat/bin/*.bat
sudo sh startup.sh
sh: startup.sh: No such file or directory

一直是这个问题 百度了各种方法都不能解决

chmod +x startup.sh
chmod +x shutdown.sh
chmod +x catalina.sh
chmod +x setclasspath.sh
chmod +x bootstrap.jar
chmod +x tomcat-jni.jar
你要增加文件的可执行权限

你可能感兴趣的:(mac tomcat 配置sh: startup.sh: No such file or directory)