IntelliJ says 'cannot run program '/path/to/tomcat/bin/catalina.sh' error=13 permission denied

前端 未结 5 850
既然无缘
既然无缘 2020-12-22 20:39

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         


        
5条回答
  •  悲哀的现实
    2020-12-22 21:23

    In short, from a console:

    chmod a+x /path/to/tomcat/bin/catalina.sh

    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.

提交回复
热议问题