Spring MVC using STS within Eclipse

spring-sts-header-img2
Spring MVC is widely used for java web apps. We usually use Eclipse IDE to develop them. Spring Tool Suite (STS) that is an IDE based on Eclipse and comes with its plugin. There are a lot of examples online, but they often different because they keep changing its user interface. Here is the memo

eclipse-sts-step1
File -> New -> Other… -> Spring -> Spring Legacy Project
eclipse-sts-step1
Old tutorials are usually just “Spring Project”, but now has the word “Lagacy” in it..
eclipse-sts-step2
For the first time, you will be asked..
eclipse-sts-step3
Need to entering the project path, then “Finish”.
Selection_003
Maven project hierarchy automatically created including POM.xml.

└── src
    └── main
        └── java
            └── com.ns.spring.Contoller class

Leave a Reply

Your email address will not be published. Required fields are marked *

This site uses Akismet to reduce spam. Learn how your comment data is processed.