To create basic Spring project resources, you can use Spring Initializr (https://start.spring.io/) . In Spring Initializr, provide the necessary details:
Generate a Maven Project with Java and Spring Boot 1.5.9.
Group: com.packtpub.restapp
Artifact: ticket-management
Search for dependencies: Select Web (Full Stack Web Development with Tomcat and Web MVC) dependency
After filling in the details, just click Generate Project; then it will create Spring basic resources in ZIP format. We can start using the project by importing them into Eclipse.
The Spring 5 POM file will look like this:
<?xml version="1.0" encoding="UTF-8"?>
<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="http://maven.apache...