1. 程式人生 > >Mac下配置Intellij IDEA + Tomcat9 出現許可權問題(error=13, Permission denied)的解決辦法

Mac下配置Intellij IDEA + Tomcat9 出現許可權問題(error=13, Permission denied)的解決辦法

  Error running 'Tomcat 9': Cannot run program "/Users/liyuanba/Documents/soft_tools/apache-tomcat-9.0.12/bin/catalina.sh" (in directory "/Users/liyuanba/Documents/soft_tools/apache-tomcat-9.0.12/bin"): error=13, Permission denied

  Error running 'Tomcat 9': Unable to open debugger port (127.0.0.1:56110): java.net.SocketException "Socket closed"
 

解決辦法

開啟終端,進入apache-tomcat-9.0.12\bin目錄,然後執行chmod 777 *.sh

問題解決