Skip to content

Files in META-INF are not found when deploying a Gradle-built executable war to a servlet container #30026

@gurpreetsingh85

Description

@gurpreetsingh85

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

2 6 3

2 6 4

Metadata

Metadata

Assignees

Labels

type: regressionA regression from a previous release

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions