-
Notifications
You must be signed in to change notification settings - Fork 40.9k
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
Spring Boot 3.2.1 Native Image build broken, when combining web + security #38910
Comments
Thanks for reaching out. This has been reported already in Spring Security. |
Please consider pinning this issue on top, as this is a blocker for the Native Image project to upgrade to Spring Boot 3.2.1. |
I upgrade to spring boot 3.2.2 but the issue is still there |
@hoangphuc2k That's to be expected. Please see the underlying Spring Security issue for details of when the fix will be released. |
@wilkinsona Sorry, My mistake I read the post but I mistakenly changed from February to January |
Latest Spring Boot 3.2.1 seemingly breaks native image compilation,
when combining starter-web + starter-security.
When bootstrapping the native application we get:
'The bean 'mvcHandlerMappingIntrospectorRequestTransformer' could not be registered. A bean with that name has already been defined and overriding is disabled.'
Pleaese see an example attached, which generated by start.spring.io and selecting
Error can be reproduced by ./gradlew clean nativeCompile or by Paketo build.
The
As a sidenode:
Boot 3.2.1 also brings in a hibernate version with breaking interfaces changes for
CurrentTenantIdentifierResolver, MultiTenantConnectionProvider
which now need to be defined with Generic Types
demo-2.zip
The text was updated successfully, but these errors were encountered: