Skip to content

Migration recipe for Jakarta EE 10 upgrade in Spring 3 #723

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

Closed
sanagaraj-pivotal opened this issue Feb 16, 2023 · 0 comments · Fixed by #724
Closed

Migration recipe for Jakarta EE 10 upgrade in Spring 3 #723

sanagaraj-pivotal opened this issue Feb 16, 2023 · 0 comments · Fixed by #724

Comments

@sanagaraj-pivotal
Copy link
Contributor

What needs to be done

Move the application to Jakarta EE 10,

Acceptance Criteria

Snippet from spring docs:

Jakarta EE
Whenever Spring Boot depends on a Jakarta EE specification, Spring Boot 3.0 has upgraded to the version that is included in Jakarta EE 10. For example, Spring Boot 3.0 uses the Servlet 6.0 and JPA 3.1 specifications.

If you are managing your own dependencies, and aren’t relying on our starter POMs, you should ensure that you have updated your Maven or Gradle file appropriately. You need to be especially careful that older Java EE dependencies are no longer directly or transitively used in your build. For example, if you should always be using jakarta.servlet:jakarta.servlet-api and not javax.servlet:javax.servlet-api.

As well as dependency coordinate changes, Jakarta EE now uses jakarta packages rather than javax. Once you’ve update your dependencies you may find that import statements in your project need to be updated.


Additional Information

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

Successfully merging a pull request may close this issue.

1 participant