Tomcat問題集錦

在這裏插入圖片描述
問題一:
Server Tomcat v7.0 Server at localhost failed to start.

在這裏插入圖片描述
問題二:
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).

可以在控制檯裏用“netstat -abn”命令查看正在運行的程序所佔用的端口以及相關信息:
在這裏插入圖片描述
解決:禁止手動開啓Tomcat,eclipse會啓動Tomcat

發表評論
所有評論
還沒有人評論,想成為第一個評論的人麼? 請在上方評論欄輸入並且點擊發布.
相關文章