Error running 'Tomcat 8.5.45': error=13, Permission denied

There was a bug when running Tomcat server:

1 Error running 'Tomcat 9.0.24': Cannot run program "/Users/lzz/Applications/Tomcat/apache-tomcat-9.0.24/bin/catalina.sh" (in directory "/Users/lzz/Applications/Tomcat/apache-tomcat-9.0.24/bin"): error=13, Permission denied

Because finally found guilty of a low-level error. On the Mac platform, there are two ways to resolve this error

One

  Tomcat download time for a Unix platform, select tar.gz compressed format, decompress, and configuration. tar.gz compression format for unix-platform, and zip for windows platform.

 

two

If you downloaded the zip archive format, you can enter the command unzip the directory in tomcat change catalina.sh executable file.

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

 

Guess you like

Origin www.cnblogs.com/dogeLife/p/11411218.html