Spring configuration using maven and eclipse a crash course: Tools you need to get standard with: Eclipse /springtoolsute M2Eclipse 1.Create a new maven project(Artifactid:maven-archetype-webapp) 2. We need 3 dependencies they are: Spring-webmvc Servlet-api Jstl We actually don’t need this servlet-api and jstl because tomcat going to serve those for us. Following are the dependencies which we need to add in the pom.xml file: <!-- Spring MVC framework --> <dependency> <groupId>org.springframework</groupId> <artifactId>spring-webmvc</artifactId> <version>3.1.2.RELEASE</version> </dependency> <dependency> <groupId>javax.servlet</groupId> <artifactId>servlet-api</artifactId> <version>2.5</version> <scope>provided</scope> </dependency> <!-- JSTL --> <dependenc
Master Core Java, JSP, Servlet, Hibernate, Maven, Spring, and more with our comprehensive tutorials and guides. Start learning today!