A Java update caused the same problem (among others) for me. The update caused Eclipse to use ipv6 when pinging Tomcat and for some reason that doesn’t work with my setup.
I fixed it by adding
-Djava.net.preferIPv4Stack=true
To eclipse.ini
.
More Related Contents:
- java.lang.IllegalArgumentException: The servlets named [X] and [Y] are both mapped to the url-pattern [/url] which is not permitted
- ClassNotFoundException when using User Libraries in Eclipse build path
- Tomcat started in Eclipse but unable to connect to http://localhost:8085/
- What does “The APR based Apache Tomcat Native library was not found” mean?
- Set default home page via in JSF project
- Remote debugging Tomcat with Eclipse
- “Server Tomcat v7.0 Server at localhost failed to start” without stack trace while it works in terminal [closed]
- HTTP Status 404 – The requested resource (/ProjectName/) is not available
- Eclipse “Server Locations” section disabled and need to change to use Tomcat installation
- HTTP Status 404 – The requested resource (/) is not available
- java.lang.NoClassDefFoundError: org/apache/juli/logging/LogFactory
- How to use Tomcat 8 in Eclipse?
- java.lang.IllegalArgumentException: The main resource set specified […] is not valid
- Change Tomcat Server’s timeout in Eclipse
- Where is the deployment directory in Eclipse?
- Unit-testing servlets [closed]
- TOMCAT – HTTP Status 404 [duplicate]
- Multiple contexts with the same path error running web service in Eclipse using Tomcat
- Eclipse on-click deploy to remote Tomcat
- Running Maven project on Tomcat from Eclipse
- Maven in Eclipse: step by step installation [closed]
- How do I set the eclipse.ini -vm option?
- Removing NTLM from Eclipse’s
- How can I create a custom Eclipse Syntax Highlighter
- What is the short cut in eclipse to terminate debugging/running?
- How to set gradle cache location?
- Eclipse + EGit: clone project into workspace
- Why does my Eclipse Indigo crash on Ubuntu 13.04 with Oracle JDK 64bit?
- eclipse doesn’t work with ubuntu 16.04
- Plugin error: execution not covered by lifecycle configuration