Creating a simple Spring project and running a test (Must know)

Time to create our first Spring application! This recipe will introduce you to Spring project templates, the Maven POM editor, and various other Spring-specific features included in STS.

How to do it...

Let's create our first Spring project:

  1. With the Spring perspective active, launch the New Spring Project wizard by selecting File | New | Spring Project from the menu:
    How to do it...
  2. Enter SimpleSpringProject into the Project name field and select the Simple Spring Utility Project item from the selection of templates. Click on the Next button.
  3. Since this is the first time we are using this particular project ...

Get Instant Spring Tool Suite now with O’Reilly online learning.

O’Reilly members experience live online training, plus books, videos, and digital content from 200+ publishers.