Port 8080 required by Tomcat v7.0 Server at localhost is already in use.

Port 8080 required by Tomcat v7.0 Server at localhost is 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).

在這裏插入圖片描述
解決方法:

1、首先打開你的cmd命令(電腦按住win+R鍵,然後輸入cmd),然後在命令行

裏輸入netstat -ano|findstr 8080.(看哪個端口被佔用就輸入哪個端口號,我的報錯

顯示是8080端口)

在這裏插入圖片描述

2、在資源管理器(Ctrl+Alt+delete鍵)中點擊詳細信息找到PID碼爲7360的進

程,結束進程。

在這裏插入圖片描述

然後在啓動Tomcat就不會報此錯誤了。

發佈了43 篇原創文章 · 獲贊 15 · 訪問量 5916
發表評論
所有評論
還沒有人評論,想成為第一個評論的人麼? 請在上方評論欄輸入並且點擊發布.
相關文章