Problem
When running a Tomcat server configuration in IDEA, an error message is shown:
Error running 'Tomcat 10.1.34'
Cannot run program
"/Users/xxx/Downloads/apache-tomcat-10.1.34/bin/catalina
a.sh" (in directory
"/Users/xxx/Downloads/apache-tomcat-10.1.34/bin"):
error=13, Permission denied
Cause [Optional]
The Tomcat package's execution script catalina.sh doesn't have execution permission on macOS after downloading and unpackaging it.
Resolution
Run the command in the terminal:
cd PATH_OF_TOMCAT/bin
chmod +x ./catalina.sh
Comments
0 comments
Please sign in to leave a comment.