4

I have recently set up Spring MVC on intelliJ but whenever I run the project using Tomcat server, it gives the following error:

Error running Tomcat 8.0.171: Cannot run program "/Library/Tomcat/bin/catalina.sh" (in directory "/Library/Tomcat/bin"): error=13, Permission denied

The error seems to me that it has to do with permission issue.

Please help me.

Thanks in advance..

Unheilig
  • 16,196
  • 193
  • 68
  • 98
princeexpedition
  • 143
  • 1
  • 4
  • 15
  • Welcome to StackOverflow. Have you tried checking the OS permissions of the catalina.sh file? Is it executable by the user running the server? – mjuarez Mar 08 '15 at 00:16
  • possible duplicate of [IntelliJ says 'cannot run program '/path/to/tomcat/bin/catalina.sh' error=13 permission denied](http://stackoverflow.com/questions/3092049/intellij-says-cannot-run-program-path-to-tomcat-bin-catalina-sh-error-13-per) – Xorty Mar 10 '15 at 21:03

1 Answers1

7

You should chmod it.

chmod a+x /Library/Tomcat/bin/catalina.sh
Quy Le
  • 2,354
  • 25
  • 18