2015. 1. 13. 23:03

Set up spring MVC development environment using Luna

This guide sets up Spring MVC development environment with maven


1. Download eclipse luna


http://www.eclipse.org/luna/


2. Install STS (Spring Tool Suite)


  • Run eclipse
  • Find the Help > Eclipse Marketplace menu on toolbar
  • Type 'sts' on Search tab
  • Click 'install' button which title is 'Spring Tool Suite (STS) for Eclipse Luna ~~~~
  • Restart eclipse

3. Install maven plugin

  • Find the Help > Eclipse Marketplace menu on toolbar
  • Type 'm2e' on Search tab
  • Click 'install' button which title is 'Maven Integration for Eclipse (Luna) 1.5.0'
    • If this was already installed, the buttons are Update and Uninstall. If so, skip this step.
  • Restart eclipse

4. Create Spring MVC Project

  • File > New > Project
  • Type the spring then select 'Spring Project'
  • Select the 'Spring MVC Project' template and specify a project name
  • Proceed nexts until you met the dialog that asks package name
  • Enter any package name and finish it.