Using Spring boot 3.0.10 application with third party libraries like opwnws, opensaml which use javax packages. These libraries haven't releases their jakarta versions so runtime transformation from javax to jakarta is needed.
In standalone tomcat, we have option to transform javax classes to jakarta classes during runtime using jakartaConverter="TOMCAT" property in context.xml file. It transforms javax to jakarta during runtime.
Finding similar configuration for spring boot 3 embedded tomcat.
Tried to configure TomcatContextCustomizer with webapploader customized with Jakarta Converter.
But during runtime, third party library is using ClassLoaders$AppLoader of jdk which is parent class loader of webapploader class, so transformation doesn't take place. Also tried by setting parent class loader of webapploader as customized converter class, but nothing works.
Is there any way to make spring boot 3 tomcat to perform javax to jakarta migration during runtime ?