6.4. Creating the Spring Archetype Project
Use the following procedure to create an archetype Spring project using Red Hat JBoss Developer Studio.
Procedure 6.1. Creating a Maven Project
- Start JBoss Developer Studio.
- Ensure you are using the JBoss perspective.
- Click →→.
- Enter the and click .
- Enter the and .
- Project name
- jboss-springmvc-webapp (that is the default)
- Package
- org.jboss.tools.example.springmvc (that is the default)
- Use default Workspace location
- (leave checked)
- Click . Confirm the , , , and .
- Group Id
- Automatically set to org.jboss.tools.example.springmvc
- Artifact Id
- jboss-springmvc-webapp
- Version
- 0.0.1-SNAPSHOT
- Package
- Automatically set to org.jboss.tools.example.springmvc
- Click .ResultYour project is created.
Spring Project Nature
Adding the Spring Project nature is not a requirement, but it enables integration with Spring IDE. This includes visualizing your application context definition, and syntactical and semantical checks.
Procedure 6.2. Adding tool support for Spring
- In the view, select the tab.
- In the Features Available list, select the Spring IDE plug-in.
- Click .