Tomcat server could not find the servlet class. Even I tried only with a servlet class. Still, the server could not find the servlet class, giving the same error message. I am very new to web application.
This is my expected output. If I put manually the link: http://localhost:8081/listener_Demo/TestServlet, I get it on console (look at console).




Update
welcome-file-listand add your custom jsp to open directly.for example :
Now, you can use http://localhost:8081/listener_Demo/ to open directly your page.
Note you have to keep the .jsp in the root WEB-INF folder for accessing.