Customers often ask if Spring Boot applications are vulnerable to threats associated with default Apache Tomcat applications, such as the examples folder, because security scanners or internal policies may flag these files in standard Tomcat distributions.
All Spring Boot versions using embedded Tomcat.
No, Spring Boot does not include Apache Tomcat example applications.
Spring Boot is designed to run as a standalone application. It achieves this by using Embedded Tomcat, which incorporates only the necessary libraries (e.g., tomcat-embed-core, tomcat-embed-el) required to start and run the application.
It does not include the full Apache Tomcat server distribution. The "examples" application folder, manager web application, and other default utilities that ship with a standard Apache Tomcat installation are excluded from the Spring Boot embedded dependencies.
If your security team is concerned about the presence of these files, you can confirm that they are not bundled with your Spring Boot application build.