Exceptions in Spring MVC

java.lang.ClassNotFoundException: org.springframework.web.servlet.DispatcherServlet


You need to add the "Maven Dependency" in the Deployment Assembly

  1. Right click on your project and choose properties.
  2. click on Deployment Assembly.
  3. click add
  4. click on "Java Build Path Entries"
  5. select Maven Dependencies"
  6. click Finish.