For questions related to migration of individual Java EE derived artifacts (javax.* package) to Jakarta EE derived artifacts (jakarta.* package), usually in context of non-JEE environments such as Spring/Tomcat or 3rd party libraries having specific JEE dependencies.
Questions tagged [jakarta-migration]
107 questions
2
votes
1 answer
Missing Java Jakarta Persistence provider outside the container (stand alone Jave SE application)
I get the following exception
ClassNotFoundException: jakarta.persistence.Persistencee
This error happens in my standalone Java web-app I am trying to use JPA with it. I have normally used JPA in a container and have done for years. You can view a…

Damien Cooke
- 599
- 10
- 20
2
votes
2 answers
Spring Boot 3 Update: No qualifying bean of type 'jakarta.xml.ws.WebServiceContext' available
After the update from spring boot 2.7. to version 3 the strange error occurred, that no qualifying bean of type 'jakarta.xml.ws.WebServiceContext' is available. I followed the migration steps (javax to jakarta) and compiling the project works fine,…

rivendell10
- 21
- 2
2
votes
1 answer
spring-boot 3.0.0 GraaVM for interface jakarta.servlet.http.HttpServletRequest
Just testing some Spring Boot 3.0.0 with GraalVM Native and got some queries regarding it as I could not find properly documentation regarding it.
So, I've started a new project with GraalVM Native Support and Spring Web depedencies on Spring…

THIAGORC
- 178
- 1
- 3
- 11
2
votes
1 answer
Spring Boot 3 and JSF with Jakarta not working
Spring Boot 3 gives with its milestones the customers time to migrate from Java EE to Jakarta, changing package names from javax to jakarta. But it's more than package names. I can't get Spring Boot to run with JSF, let alone Primefaces-Jakarta.
All…

Jan
- 1,032
- 11
- 26
1
vote
0 answers
Can't find Javax class in latest Jersey/Dropwizard version in Maven project
As I understand it, Jakarta replaced the Javax namespace a bit ago, and Jersey did the necessary work to support this change as of v3.0. I've got a legacy project that I've been trying to drag from Dropwizard 2.0.25 to 4.0.1 with some great deal of…

Joseph Z
- 31
- 1
1
vote
0 answers
Converting XSD / XJB to Java Classes with JAXB 3.0 and jaxb2-maven-plugin does not work for Annotations (-Xannotate xjc switch)
I am trying to migrate my Java class generation from the former javax.* to jakarta.* I am using the Maven Plugin
org.codehaus.mojo
jaxb2-maven-plugin
3.1.0
setting the target to 3.0 and…

Ismael
- 11
- 2
1
vote
0 answers
How to create a modular JSF 3.0 application?
This is the jakarta 9 and jsf 3 version of this classic topic from several years ago:
How to create a modular JSF 2.0 application?
The context is that I'm migrating a web app to tomcat 10.0.x, jakarta 9, jsf3, spring 6, etc as already detailed…

iljkr
- 161
- 1
- 1
- 8
1
vote
2 answers
How to stop Openapi-generator-maven-plugin creates putItem method for type: object
EDIT: Bug report github.com/OpenAPITools/openapi-generator/issues/16245
(I am not quite sure if this is related to jakarta usage, or open api version, but problem seems to be starting around version 5.3.0)
After migrating jaxb to jakarta package, I…

Spring
- 11,333
- 29
- 116
- 185
1
vote
1 answer
Migrating services to Spring Boot 3 - Unable to convert javax.xml.namespace to jakarta.xml.namespace
We are migrating our services to Spring Boot 3. However, we have encountered an issue regarding the conversion from javax.xml.namespace to jakarta.xml.namespace. It seems that this namespace has not been migrated to Jakarta EE yet. As a result, our…

Shane Gurusingha
- 55
- 2
- 6
1
vote
0 answers
How to rectify/resolve the compilation errors during migrating to Hibernate 6?
While Migrating java hybrid Application from java 8 to java 17 with latest maven version. Here are the following version changes during migration.
-> Jdk8 to jdk17
-> Maven 3.1 to maven 3.8.6
-> Tomcat 7 to Tomcat 10.
-> Migrate javax to jakarta…

Saran
- 101
- 1
- 4
1
vote
0 answers
Spark 3.4.1, Jakarta Servlet 6.0.0 Compatibility Issue
I am attempting to create a spark session in spring application.
Since spark uses jersey servlet.
On adding below dependency
jakarta.servlet
jakarta.servlet-api
…

Aayush Goel
- 11
- 3
1
vote
0 answers
How to pass jakarta.ws.rs.core.Response to a method accepting javax.ws.rs.core.Response
I have updated the version of the library
jakarta.ws.rs-api
from 2.1.6 to 3.0.0, this has changed the package of Response class from javax.ws.rs.core to jakarta.ws.rs.core
Now my code uses a library that still accepts javax.ws.rs.core.Response…

Harpreet
- 1,527
- 13
- 25
1
vote
1 answer
java.lang.AbstractMethodError: Missing implementation of resolved method 'abstract void doFilterInternal(..)
I am upgrading from spring boot 2.1.11_RELEASE to 3.0.6. But on hitting a particular api, I get this error on my local :
ERROR o.a.c.c.C.[.[.[.[dispatcherServlet] - Servlet.service() for servlet [dispatcherServlet] in context with path [] threw…

Anurator
- 41
- 7
1
vote
0 answers
WSDL2Java code generation with Spring Boot 3 jakarta dependencies - Generating setters for collection parameters
I am trying to generate java sources from a wsdl file to integrate with my project running on Java 17 /Spring Boot 3. I am using following maven plugin setup to achieve this:
com.sun.xml.ws
…

Chamila Wijayarathna
- 1,815
- 5
- 30
- 54
1
vote
1 answer
Migration from javax to jakarta for dependencies
Is there any way to replace the javax.* to jakarta.* packages inside the dependencies of my module without recompiling them?
At compile/deploytime?
Spring boot 3 / Java 17

ZedZed
- 39
- 1
- 7