-
Notifications
You must be signed in to change notification settings - Fork 41k
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
Manifest attributes cannot be resolved with the new loader implementation #38996
Comments
Thanks, @mnorsic, but I'm getting a 404 when trying to access the sample. |
I am encountering this problem too. Reproduction steps:
On Spring Boot 3.2.0, the output is:
But on Spring Boot 3.2.1, the output is:
The |
I think this regression might have been caused by f31ffbf |
Oops, my bad: project was private instead of public, I have changed it now. But I see that you managed to reproduce it anyway... |
This regression also affects the banner, where |
OS: Windows 11
Java version: OpenJDK 21.0.1
Spring Boot version: 3.2.1
After upgrade from Spring Boot 3.2.0 to 3.2.1 methods from
java.util.Package
are not working and are returningnull
s, such asgetImplementationVersion()
,getImplementationVendor()
andgetImplementationTitle()
.I have created a small example here with a REST API Controller that returns data from beforementioned methods here: https://github.com/mnorsic/manifest-example
When running application JAR from build\libs directory using Java CLI
java.exe -jar .\manifest-example-0.0.1-SNAPSHOT.jar
Spring Boot 3.2.0 returns
{"vendor":"ACME Company LLC","title":"Manifest Example","version":"0.0.1-SNAPSHOT"}
Spring Boot 3.2.1 returns
{"vendor":null,"title":null,"version":null}
The text was updated successfully, but these errors were encountered: