educative.io

Educative

Creating servelet

I have followed the instruction of Spring MVC module for creating a web application setup and creating a servlet. but it seems that mapping is not happening properly. After running the application on tomcat server , below error is present:

HTTP Status 404 – Not Found body {font-family:Tahoma,Arial,sans-serif;} h1, h2, h3, b {color:white;background-color:#525D76;} h1 {font-size:22px;} h2 {font-size:16px;} h3 {font-size:14px;} p {font-size:12px;} a {color:black;} .line {height:1px;background-color:#525D76;border:none;}

HTTP Status 404 – Not Found

Type Status Report

Message /tennis-player-web/servlet/io.datajek.jee.PlayerServlet

Description The origin server did not find a current representation for the target resource or is not willing to disclose that one exists.

Apache Tomcat/9.0.31

What could be the reason for this? Please help.