WebMvcTagsContributor Depricated, what is alternative to this
Anyone give the solution for, alternative way to implement WebMvcTagsContributor with overriding getTags() and getLongRequestTags() methods.
How to create a library that will work for both Spring Boot 3 and Spring Boot 2 and use HttpServletRequest?
I have a library I’m creating that has a bean that is RequestScope and it has an autowired HttpServletRequest object. This works fine when used in a Spring Boot 2 application. But when I try to use this library in a Spring Boot 3 service, it doesn’t work because of the switch from javax.servlet to jakarta.servlet for the HttpServletRequest object.
Spring boot 3.3.0 @ConfigurationProperties not working with @Bean
In Spring boot 3.0.x this code worked: