Skip to content
This repository has been archived by the owner on Jul 10, 2024. It is now read-only.

jakarta compatibility on generated class AbstractGroupsManager #163

Open
ykevinc opened this issue Apr 16, 2024 · 1 comment
Open

jakarta compatibility on generated class AbstractGroupsManager #163

ykevinc opened this issue Apr 16, 2024 · 1 comment

Comments

@ykevinc
Copy link

ykevinc commented Apr 16, 2024

Hi,

Thanks for open sourcing this AB testing library.

With

import jakarta.servlet.http.HttpServletRequest;
import jakarta.servlet.http.HttpServletResponse;

superseded

import javax.servlet.http.HttpServletRequest;
import javax.servlet.http.HttpServletResponse;

https://github.com/spring-projects/spring-boot/wiki/Spring-Boot-3.0.0-M1-Release-Notes
https://stackoverflow.com/questions/71179660/spring-boot-3-jakarta-and-javax

Will there be any plan on switching the import over to jakarta?

Thank you.

@SwapnilUgalmugale
Copy link

Yes you should import 'jakarta' over to 'javax'.While your Spring Boot application may currently function properly with both 'javax' and 'jakarta' libraries due to Spring Boot's backward compatibility, it's crucial for future compatibility with Jakarta EE 9 and Jakarta-compatible servers like Tomcat 10 its is recommended by spring boot 3 release notes to use imports from 'javax' to 'jakarta'.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants