Installing the Spring MVC Maven project

To run the Maven build tool, right-click on pom.xml and select Run As | Maven install, as shown in the following screenshot:

Installing the Spring MVC Maven project

The jboss-springmvc application gets compiled and packaged to the jboss-springmvc.war archive, which gets output to the deployments directory. Maven outputs a BUILD SUCCESS message, as shown in the following screenshot:

Installing the Spring MVC Maven project

Start the WildFly 8.1 server if it is not already started. The jboss-springmvc.war archive gets deployed to WildFly 8.1. Now log in to the WildFly Administration Console ...

Get Advanced Java® EE Development with WildFly® now with O’Reilly online learning.

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