In order to create our first controllers, do the following steps:
- Locate pom.xml inside the ch03 folder and configure it to include the entire Spring 5.0 core, Spring Web MVC module, servlet and JSP APIs, JTSL, and standard taglib dependencies:
<properties> <spring.version>5.0.0.BUILD-SNAPSHOT</spring.version> <servlet.api.version>3.1.0</servlet.api.version> </properties> <dependencies> <dependency> <groupId>org.springframework</groupId> <artifactId>spring-context</artifactId> <version>${spring.version}</version> </dependency> <dependency> <groupId>org.springframework</groupId> <artifactId>spring-core</artifactId> <version>${spring.version}</version> </dependency> <dependency> <groupId>org.springframework</groupId> <artifactId>spring-beans</artifactId> ...