HTTP Status 404 - /
type Status report
message /
description The requested resource (/) is not available.
Apache Tomcat/6.0.26
When you choose to "Start" your Tomcat and when you Open http://localhost/ in a browser: you will see a 404 error message.
This occurs because your eclipse fails to copy the ROOT files in the metadata folder and http://localhost/ will result in a 404 error. But, the error page comes from Tomcat, so it shows that Tomcat is running. The problem is that Eclipse doesn't copy the default Web application to the Eclipse/Tomcat folder. However, if you copy the ROOT files as described below, http://localhost/ will give the default Tomcat page.
Eclipse forgets to copy the default app (ROOT) when it creates a Tomcat folder inside the Eclipse workspace.
>> Go to C:\apache-tomcat-7.0.27\webapps, copy the ROOT folder.
>>Go to your Eclipse workspace >> .metadata folder>>.plugins>>org.eclipse.wst.server.core>>wtpwebapps.
>>Paste ROOT (say "yes" if asked if you want to merge/replace folders/files). Then reload http://localhost/ to see the Tomcat welcome page.
