场景

启动Tomcat时提示:

 Failed to initialize end point associated with ProtocolHandler ["http-apr-8080"]

在此之前还提示:

Socket bind failed:[730048] ????????? ...........

如图:

tomcat启动时提示Failed to initialize end point associated with ProtocolHandler ["http-apr-8080"]tomcat启动时提示Failed to initialize end point associated with ProtocolHandler ["http-apr-8080"]

解决

1.首先打开任务管理器,查看javaw有没有在运行,有就关掉。

2.如果没有就查看8080端口有没有被占用,如果被占用,则将被占用的程序关掉。

3.如果没被占用,则可以修改Tomcat的端口。

找到Tomcat路径下的conf下的server.xml

tomcat启动时提示Failed to initialize end point associated with ProtocolHandler ["http-apr-8080"]tomcat启动时提示Failed to initialize end point associated with ProtocolHandler ["http-apr-8080"]

然后用EditPlus等打开,将原来的8080,修改为其他的比如8888,重启服务器。

tomcat启动时提示Failed to initialize end point associated with ProtocolHandler ["http-apr-8080"]tomcat启动时提示Failed to initialize end point associated with ProtocolHandler ["http-apr-8080"]

相关文章:

  • 2022-12-23
  • 2021-11-14
  • 2022-12-23
  • 2022-02-06
  • 2021-10-07
  • 2021-10-24
  • 2021-07-11
  • 2022-12-23
猜你喜欢
  • 2022-12-23
  • 2021-05-12
  • 2021-05-29
  • 2021-06-20
  • 2021-08-19
  • 2021-08-11
  • 2021-06-06
相关资源
相似解决方案