(1)錯誤:
Starting Tomcat v7.0 at localhost' has encountered a problem.
Several ports (8005, 8080, 8009) required by Tomcat v7.0 Server at localhost are already in use.
The server may already be running in another process, or a system process may be using the port.
To start this server you will need to stop the other process or change the port number(s).
(2)意思:
是tomcat的8080端口被佔用了
(3)解決:
1.命令行netstat -ano
顯示結果
可見8080端口確實被佔用了,記住最後一類的數字(1600)
2.命令行輸入tasklist|findstr "1600"(注:第一個分號前有個空格)
可見我的是javaw.exe佔用了8080端口
3.ctrl+shift+esc打開任務管理器,點詳細信息
結束到進程就ok了。