You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Manifest attributes cannot be resolved with the new loader implementation #38996
openjdk 21.0.1 2023-10-17 LTS
OpenJDK Runtime Environment Temurin-21.0.1+12 (build 21.0.1+12-LTS)
OpenJDK 64-Bit Server VM Temurin-21.0.1+12 (build 21.0.1+12-LTS, mixed mode, sharing)
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 returning nulls, such as getImplementationVersion(), getImplementationVendor() and getImplementationTitle().
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}
changed the title [-]SPring Boot 3.2.1 does not resolve MANIFEST attributes[/-][+]Spring Boot 3.2.1 does not resolve MANIFEST attributes[/+]on Jan 4, 2024
changed the title [-]Spring Boot 3.2.1 does not resolve MANIFEST attributes[/-][+]Manifest attributes cannot be resolved with the new loader implementation[/+]on Jan 9, 2024
Activity
[-]SPring Boot 3.2.1 does not resolve MANIFEST attributes[/-][+]Spring Boot 3.2.1 does not resolve MANIFEST attributes[/+]wilkinsona commentedon Jan 4, 2024
Thanks, @mnorsic, but I'm getting a 404 when trying to access the sample.
Thunderforge commentedon Jan 4, 2024
I am encountering this problem too. Reproduction steps:
src/main/java/com/example/demo/DemoApplication, add the following to themain()method:./gradlew bootJarOn Spring Boot 3.2.0, the output is:
But on Spring Boot 3.2.1, the output is:
The
MANIFEST.MFfiles are identical between the two.philwebb commentedon Jan 5, 2024
I think this regression might have been caused by f31ffbf
mnorsic commentedon Jan 5, 2024
Oops, my bad: project was private instead of public, I have changed it now. But I see that you managed to reproduce it anyway...
voria commentedon Jan 8, 2024
This regression also affects the banner, where
application.*variables are unset.[-]Spring Boot 3.2.1 does not resolve MANIFEST attributes[/-][+]Manifest attributes cannot be resolved with the new loader implementation[/+]Restore manifest support for nested directory jars