
If not, we’ll see how to download and install it the following steps.In Eclipse IDE, click menu File > New > Maven Project (or File > New > Other… > Maven Project). Depending on your installation, the archetype spring-mvc-archetype is installed or not. Now let’s go through few steps to create a new Spring MVC project using Eclipse IDE.

This tutorial shows you how quickly to create a basic Spring MVC project and get it up and running, using the Maven archetype called spring-mvc-archetype from group Id co.ntier.Firstly, make sure you have the Maven Integration for WTP (m2e-wtp) plug-in installed in your Eclipse IDE: Forget the days we have to manually add JARs, create XML files, find and put appropriate Maven dependencies, etc. Thanks to new Maven archetypes for Spring and Maven integration plug-in for Eclipse, creating skeleton stuffs for a Spring MVC project has never been easier. The path of maven should be %maven home%/bin. Here, we have installed JDK and its path is set by default, so we are going to append the path of maven. If it is set, edit the path and append the path of maven. It is displayed below:ģ) Add Maven Path in environment variableĬlick on new tab if path is not set, then set the path of maven. It must be the home directory of maven i.e. Now add MAVEN_HOME in variable name and path of maven in variable value.

Right click on M圜omputer -> properties -> Advanced System Settings -> Environment variables -> click new button To install maven on windows, you need to download apache maven first.ĭownload Maven latest Maven software from Download latest version of MavenĢ) Add MAVEN_HOME in environment variable Add JAVA_HOME and MAVEN_HOME in environment variable.To install maven on windows, you need to perform following steps: Here, we are going to learn how to install maven on windows OS. You can download and install maven on windows, linux and MAC OS platforms. Next → ← prev How to install Maven on windows
