SEVERE: Servlet [Controller] in web application [/myfirst-mvc-project] threw load() exception
I have got the below error while running my First Spring Web MVC application using Tomcat Server.
The error log in the Console is:
INFO: Marking servlet [dad-frontController] as unavailable
Sep 30, 2021 10:34:12 PM org.apache.catalina.core.StandardContext loadOnStartup
SEVERE: Servlet [dad-frontController] in web application [/myfirst-mvc-project] threw load() exception
java.lang.ClassNotFoundException: org.springframework.web.servlet.DispatcherServlet