现象
mac上tomcat启动时报错:
java.rmi.server.ExportException: Port already in use: 1099; nested exception is....
端口1099被占用着
解决
查找占用端口的进程
lsof -i tcp:
杀死进程
kill pid
mac上tomcat启动时报错:
java.rmi.server.ExportException: Port already in use: 1099; nested exception is....
端口1099被占用着
查找占用端口的进程
lsof -i tcp:
杀死进程
kill pid