Tomcat Not Starting Through Eclipse (Timeout)

后端 未结 27 2562
终归单人心
终归单人心 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:05

    Ran into same issue here. Tried out all these solutions the others proposed, none of it works for me.

    1. change http 1.1 port to 8090.
    2. add -Djava.net.preferIPv4Stack=true to eclipse.ini (STS.ini in my case).
    3. in Window -> Preferences -> General -> Network Connections, set Active Provider to Direct or Manual.
    4. add 127.0.0.1 localhost to hosts localdns file (C:\Windows\System32\drivers\etc\hosts)

    Finally I realized all this happens since I put the tomcat native library in. I removed it and reverted all the changes above, it works now. Anyway, thanks for all your helps which help me connect the issue with the native library.

提交回复
热议问题