Java Version - 11
Spring Boot Version - 2.6.4
Tomcat Version - 9.0.59
Starting with Spring Boot version 2.6.4 environment prepared method is not getting called when spring boot application is deployed as a war to external tomcat server.
Attached is the project to simulate behavior along with snapshots showing difference between 2.6.3 and 2.6.4
Change version of Spring Boot in build.gradle file to reproduce.
demo.zip

