404 error in browser accessing Servlet

The first Servlet program written with the MyEclipse tool — HelloWorld (refer to Section 4.1 of Java Web Programming). After the Web project is created, Tomcat is started through the MyEclipse development tool. See the Console window to output the server startup information as follows:

Then, when testing the program by typing the URL in the browser address bar, a 404 error occurs, as shown below:

My development environment is MyEclipse 2014+Tomcat 8.0. Previously, there were some new features in MyEclipse that did not support JDK 1.8. Later, I wondered if there was a version mismatch between development environments, so I tried to change Tomcat 8.0 to Tomcat 7.0.


Read More: