Spring 4 Maven dependency:
Find the below spring maven dependency and sample pom.xml to run Spring MVC application.
<dependency> <groupId>org.springframework</groupId> <artifactId>spring-webmvc</artifactId> <version>4.2.2.RELEASE</version> </dependency>
If you are using JSTL for view then add
<dependency> <groupId>jstl</groupId> <artifactId>jstl</artifactId> <version>1.2</version> </dependency>
Servlet Jar based on your version
<dependency> <groupId>javax.servlet</groupId> <artifactId>javax.servlet-api</artifactId> <version>3.1.0</version> </dependency>
In the next tutorial find how to run spring 4 mvc hello world example with java based configuration – spring 4.
also click here for spring mvc hello world example with xml based configuration