Master java skills

Create a Spring MVC maven project using archetype

In this tutorial, let’s learn how to create a maven project using an archetype.

Step 1 : Create a maven project

Step 2 : Let the checkbox ‘Create a simple project(skip archetype selection)‘ remain unchecked. And click on ‘Next’ button.

Step 3 : Type the archetype ‘spring-mvc-archetype‘ in the Filter input box. You should get multiple options.

If you are not getting the option, then you need to add a plugin to STS. To add the plugin, click Install New Software under the Help tab of STS.

As the window opens, select ‘All Available Sites‘ in ‘Work with’ dropdown and type ‘web tools platforms‘. It will get multiple options. Select All and Click Next and Finish.

Step 4 : After installation is done. Restart the STS.