Tomcat Not Starting Through Eclipse (Timeout)

后端 未结 27 2527
终归单人心
终归单人心 2020-12-01 06:41

I am trying to run Tomcat through Eclipse. This is something that I have done for the past several years. It was working yesterday and now it is not. The error I get is

27条回答
  •  暖寄归人
    2020-12-01 07:03

    This is a very old post yet no one of these solutions worked for me. I had to do a combination of answers in this post and others to get it working. This is what I did;

    • Add 127.0.0.1 localhost to the host file
    • Add -Djava.net.preferIPv4Stack=true to eclipse.ini file
    • Set Active Provider to Manual in Window > Preferences > General > Network Connections
    • Change Host name in Servers (view) > Overview (pane) to computer's network IP.
    • Disable auto reloading in Server (view) > Module (pane) > Module (list item) > Edit (action button)

    References

    • Eclipse unable to detect that a server has started
    • Tomcat Not Starting Through Eclipse (Timeout)
    • Tomcat Not Starting Through Eclipse (Timeout)

提交回复
热议问题