This is the easiest way:
step 1) install the Spring Tool Suite (STS) for eclipse (version 3.7.0RELEASE or higher) To do this, go to the Help → eclipse market page, then enter the Spring Toolbox in the search field.
step 2) now go to the file -> new -> Spring project , as shown in the figure below 
step 3) now select the template as "spring MVC Project" and specify the name for your project on top, as shown below (I called it "SpringProject") 
step 4) now specify the name of the base package, for example 
and so it is. The project will be created in a few minutes, and now you can right-click it and run it on the server.
ishanbakshi Sep 23 '15 at 4:58 2015-09-23 04:58
source share