O'Reilly logo

Spring MVC Beginner’s Guide by Amuthan G

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

The Gradle build script for your project

To configure the Gradle build script for your project, perform the following steps:

  1. Go to the root directory of your project from the filesystem, create a file called build.gradle, and add the following content into the file and save it:
    apply plugin: 'war' apply plugin: 'eclipse-wtp' repositories { mavenCentral() //add central maven repo to your buildfile } dependencies { compile 'org.springframework:spring-webmvc:4.0.3.RELEASE', 'javax.servlet:jstl:1.2', 'org.springframework.security:spring-security-web:3.1.4.RELEASE', 'commons-fileupload:commons-fileupload:1.2.2', 'org.apache.commons:commons-io:1.3.2', 'org.springframework:spring-oxm:4.0.3.RELEASE', 'org.codehaus.jackson:jackson-mapper-asl:1.9.10', 'log4j:log4j:1.2.12', ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required