异常信息:
Application Server was not connected before run configuration stop, reason:
com.intellij.javaee.oss.admin.jmx.JmxAdminException: java.util.concurrent.ExecutionException: java.lang.SecurityException: Access denied! No entries found in the access file [/Users/yumiao/Library/Caches/JetBrains/IntelliJIdea2021.1/tomcat/Tomcat_8_5_32_Web_2/jmxremote.access] for any of the authenticated identities [ngopzaxxc]
此异常可能为1099端口被占用导致,杀掉占用端口进程即可!
附Mac端操作命令:
- 查询占用1099端口进程:
sudo lsof -i tcp:1099
- 杀掉占用端口进程(PID为查询到的进程PID):
sudo kill -9 PID