The following is an excerpt from the following article posted by @TEBASAKI. Spring Boot explanation 4th \ (development environment: war file creation )
--Added SpringBootServletInitializer inheritance to Application class. --Override of SpringApplicationBuilder method.
--When developing a web application with Spring boot, the built war will include the built-in Tomcat. Add a definition to avoid this.
--Run a Gradle task (war) to create a war (generated in {ProjectName} \ build \ libs).
--Just put war in the webapps folder (it will be expanded automatically).
Recommended Posts