Tomcat的两种启动方法--eclipse报错--Several ports (8005, 8080, 8000, 8009)---

tomcat版本

Tomcat的两种启动方法--eclipse报错--Several ports (8005, 8080, 8000, 8009)---

Tomcat安装完成后的目录有

  • bin------存放启动和关闭的tomcat脚本
  • conf-----包含不同的配置文件
  • work----存放jsp编译后产生的class文件 webapp存放应用程序的目录
  • log-----存放日志文件
  • lib------存放tomcat所需要的jar文件
  • doc-----存放各种Tomcat文档

tomcat的启动我知道的有两种

1.一种是在tomcat安装目录下找到startup.bat文件,关闭的话就使用shutdown.bat

Tomcat的两种启动方法--eclipse报错--Several ports (8005, 8080, 8000, 8009)---

2. 在eclipse中打开tomcat

Tomcat的两种启动方法--eclipse报错--Several ports (8005, 8080, 8000, 8009)---
Several ports (8005, 8080, 8000, 8009) required by Tomcat v9.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).

在eclipse中运行springmvc项目出现报错:因为tomcat已经打开。关闭tomcat在重新运行