-
Notifications
You must be signed in to change notification settings - Fork 41.2k
Files in META-INF are not found when deploying a Gradle-built executable war to a servlet container #30026
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Comments
Thanks for the report. Unfortunately, the sample that you have provided does not reproduce the behaviour that you have described. With 2.6.4, I see your
Can you please describe how to use your sample to reproduce the problem? |
@wilkinsona I am attaching another sample project. This time i have disabled traditional war task. |
Thanks. I've reproduced the problem now. It's a regression caused by the changes for #28562. The |
SpringApplicationRunListener.environmentPrepared
event is not getting called
The Maven repackaging only applies its special handling of |
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
The text was updated successfully, but these errors were encountered: