Mac下tomcat启动报错Error running 'Tomcat7.0.75': Cannot run program "/Volumes/Ma
程序员文章站
2022-03-10 22:05:20
...
Error running 'Tomcat7.0.75': Cannot run program "/Volumes/MacOS/Java/apache-tomcat-7.0.75/bin/catalina.sh" (in directory "/Volumes/MacOS/Java/apache-tomcat-7.0.75/bin"): error=13, Permission denied
从英文可以看出是权限不足,
解决办法,命令行进入tomcat的bin根目录,执行chmod 777 *.sh问题解决
上一篇: 统计的几个小技巧
下一篇: 正则表达式实现匹配连续数字的方法