Introduction
This guide explains how to do the following:
- Package a Maven-based Spring Boot application as a WAR file.
- Deploy a WAR file to Apache Tomcat.
- Deploy a WAR file to Eclipse Jetty.
Packaging a Maven-Based Spring Boot Application as a WAR File
To change the packaging in a Maven-based Spring Boot application that was generated using the Spring Initializr or Vaadin Start tools, make the following changes in the pom.xml file: