When using the Tomcat container in eclipse, the problem that is often encountered is that the startup is unsuccessful, input localhost:8080 404, this article is to teach you to solve this problem. (But this is a very elementary problem, Daniel do not spray)
Steps
1 window-"Preferences->server->runtime Environments->add, choose the tomcat you downloaded 8 (my version is apache-tomcat-8.0.24, which is easy to download to, unzip to your local directory after downloading).
Of course, if your Tomcat is 7, you can choose 7.
2 Window > Show View > Server Select your server, right click Properties, pop-up page select general, click Switch Location, then automatically switch to the Tomcat server you added.
3 double-click on your Tomcat server, pop up the page, find the server Locations, tick the second use Tomcat installation ....
Primary tutorial for using the Tomcat 8 server in eclipse