To enable Spring and Spring MVC modules in your maven project, follow the steps below 1: Add Spring related dependencies. The dependencies below will get all the rest of the transitive dependencies. <dependency> groupid>org.springframework</groupid> <artifactid>spring-context</artifactid> <…