当新建的web项目,运行到Tomcat报错如下:

Several ports (8005, 8080, 8009) required by Tomcat v8.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).

JavaWeb项目运行在tomcat报错

 

此时有可能是自己手动启动了tomcat服务器,在进程里面看看是否有这个:

JavaWeb项目运行在tomcat报错

 

因为tomcat已经运行了,所以会占用8080端口,于是会报上面的错误。

 

如果不是这个原因,则坚持是不是有javaw.exe这个进程,如果有请删除

相关文章:

  • 2022-12-23
  • 2022-12-23
  • 2022-01-01
  • 2021-06-25
  • 2021-11-09
  • 2022-03-05
  • 2021-04-22
  • 2021-09-12
猜你喜欢
  • 2021-12-03
  • 2021-11-02
  • 2022-12-23
  • 2021-09-19
  • 2021-06-24
  • 2021-04-12
  • 2021-12-25
相关资源
相似解决方案