Skip to content

Migrate to Jakarta EE to support spring boot 3.0 #2751

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
jiec-msft opened this issue Aug 8, 2023 · 1 comment
Closed

Migrate to Jakarta EE to support spring boot 3.0 #2751

jiec-msft opened this issue Aug 8, 2023 · 1 comment

Comments

@jiec-msft
Copy link

Hey team,

By reading the Spring Boot 3.0 Migration Guide, in spring boot 3.0, javax.annotation should be upgraded to jakarta.annotation. Such as in the code:

import javax.annotation.Nullable;

But, looks like this project still depends on javax.annotation:javax.annotation-api:1.3.2. So will this project compatible with Spring Boot 3.0? Or can we update this dependency with Jakarta EE?

@brendandburns
Copy link
Contributor

There's a duplicate discussion here:
#2606

I'm going to close this issue in favor of that one.

The tl;dr; is that we're open to migrating, but it requires work in the upstream code generator that someone needs to do.

Regarding Spring Boot 3.0 as far as I know it also requires an update to JDK 17 and at this time we have no plans to require JDK 17. This is discussed in this issue:

#2452

I'm happy to have further discussions or proposals in those issues.

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

No branches or pull requests

2 participants