本文介绍了IntelliJ说“无法运行程序”/path/to/tomcat/bin/catalina.sh'error = 13权限被拒绝的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
在intelliJ ulimate中,运行裸骨弹簧mvc应用程序时出现错误:
In intelliJ ulimate, running a bare bone spring mvc application I get the error:
'cannot run program '/path/to/tomcat/bin/catalina.sh' error=13 permission denied
如何修复此问题? (我在Mac上)
How to I fix this? (i'm on a mac)
推荐答案
简而言之,从控制台:
chmod a + x /path/to/tomcat/bin/catalina.sh
这假设您已经删除了帖子中的Tomcat路径,并在发布此处之前检查了它确实存在于您的系统中。根据文件的现有权限,您可能需要以具有足够提升权限的用户发出上述命令。
This assumes that you 've elided the Tomcat path in your post, and checked that it really does exist on your system before posting here. Depending on the existing permissions of the file, you may need to issue the above command as a user with sufficiently elevated privileges.
这篇关于IntelliJ说“无法运行程序”/path/to/tomcat/bin/catalina.sh'error = 13权限被拒绝的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!