1. 程式人生 > >java.rmi.server.ExportException: Port already in use: 1099; nested exception is

java.rmi.server.ExportException: Port already in use: 1099; nested exception is

閱讀目錄

回到頂部

現象

mac上tomcat啟動時報錯:

java.rmi.server.ExportException: Port already in use: 1099; nested exception is....

埠1099被佔用著

回到頂部

解決

查詢佔用埠的程序

lsof -i tcp:1099

殺死程序

kill pid