spring-webmvc maven dependency

This page gives you a quick reference to get spring-webmvc dependency for Maven or Gradle projects. You can also download the spring-webmvc jar dependency, the link given at the "Download JAR File" section.

This spring-webmvc module contains all the classes for Spring’s own MVC framework. If you are using a separate MVC framework for your application, you won’t need any of the classes from this JAR file.

Spring WebMVC Maven Dependency

Copy below Spring WebMVC maven dependency and paste in your project pom.xml file:
<!-- https://mvnrepository.com/artifact/org.springframework/spring-webmvc -->
<dependency>
    <groupId>org.springframework</groupId>
    <artifactId>spring-webmvc</artifactId>
    <version>5.2.1.RELEASE</version>
</dependency>

Spring WebMVC Gradle Dependency

Copy below Spring WebMVC gradle dependency and paste in your project build.gradle file:
// https://mvnrepository.com/artifact/org.springframework/spring-webmvc
compile group: 'org.springframework', name: 'spring-webmvc', version: '5.2.1.RELEASE'

Download JAR File

spring-webmvc-5.2.1.RELEASE.jar

Check for Latest Release

Reference


Comments