You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Quarkus 3 will move to Jakarta EE 10. This means that basically all import javax.* have to be replaced with import jakarta.*. All the jakarta.* packages are built for bytecode version 55 (Java 11), which means, that the dependencies cannot "just be bumped with some find+replace".
Hint:
jakarta/servlet/http/HttpServletRequest has been compiled by a more recent version of the Java Runtime (class file version 55.0), this version of the Java Runtime only recognizes class file versions up to 52.0
As long as only annotations are affected, I think, that it's possible (although definitely not really nice) to repeat the annotations for javax.* and jakarta.*. For example instead of having
This change adds the Jakarta API dependencies next to the (old) javax
dependencies. Hint: the findbugs JSR-305 dependency is the
"javax-equivalent" for jakarta-annotations.
There's no production code change in this PR, but dependency
configurations/scopes have changed. Assuming that server
_implementations_ come with the "right" dependencies for the
annotations, which should work fine.
This change alone will _not_ make Nessie work with Jakarte EE 10,
because
* neither the javax-annotations are not "duplicated" with their "jakarta
counterparts",
* nor are the javax-interface implementations duplicated with their
"jakarta counterparts" (think: `implements
javax.ws.rs.ext.ParamConverterProvider` or `implements
javax.ws.rs.ext.ExceptionMapper`).
Related to: #5264
Quarkus 3 will move to Jakarta EE 10. This means that basically all
import javax.*
have to be replaced withimport jakarta.*
. All thejakarta.*
packages are built for bytecode version 55 (Java 11), which means, that the dependencies cannot "just be bumped with some find+replace".Hint:
As long as only annotations are affected, I think, that it's possible (although definitely not really nice) to repeat the annotations for
javax.*
andjakarta.*
. For example instead of havinguse:
See #5255 for dependencies.
The text was updated successfully, but these errors were encountered: