-
Notifications
You must be signed in to change notification settings - Fork 40.3k
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
Unable to apply jakartaConverter in spring boot embedded tomcat. #40995
Comments
The conversion isn't supported in Spring Boot with embedded Tomcat. In this arrangement, the classes of the application and its dependencies aren't loaded by Tomcat's |
eclipse transformer is not working for spring boot jar package. It is not iterating through libraries under boot-inf/lib generated from spring-boot-maven-plugin |
The transformation should be applied at build time, before the Spring Boot uber jar is created. If you'd like some further help figuring out how to do that, please follow up on Stack Overflow. As mentioned in the guidelines for contributing, we prefer to use GitHub issues only for bugs and enhancements. |
Thank you for your guidance, but have tried everything to apply transformation during build time for spring boot uber jar but it wasn't transforming dependent jars which are packaged under boot-inf/lib directory. tried to execute transformer plugin on various phases but it worked only for prepare-package phase due to spring-boot-maven-plugin goal/phase conflicts. |
Have configured Spring boot 3 application running on embedded tomcat.
Configured tomcat with customized context and webappclassloader to apply jakartaConverter="TOMCAT" property for javax to jakarta migration.
It works fine in standalone tomcat, but spring boot 3 is not transforming 3rd party libraries from javax to jakarta.
Is there anything needs to be configured?
The text was updated successfully, but these errors were encountered: