Next, compile, package, and deploy the Spring MVC application using the Maven build tool. The Hibernate JPA API, the Hibernate Validator API, and the Hibernate Entity manager API are provided by WildFly 8.1. Add a dependency on the MySQL JDBC connector, as follows:
<dependency> <groupId>mysql</groupId> <artifactId>mysql-connector-java</artifactId> <version>5.1.22</version> </dependency>
The Spring dependencies are available in the
org.springframework group ID. The Spring version is configured as Spring 4.1.2 by default in
pom.xml, as follows:
The Spring Web MVC dependency is also configured as version 4.1.2. All the required Spring framework dependencies—Spring ...