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
0
votes
1 answer
After upgraded Hibernate-Jakarta version, application doesn't work
I upgraded hibernate-core-jakarta version. I get this error when trying to run the project.
The project includes; Java17, spring boot 2.7.x
java.lang.NoClassDefFoundError: org/springframework/aot/hint/TypeHint$Builder
error logs
…

ebrukaya
- 1
- 1
0
votes
1 answer
Why only part Metro Framework packages / artifacts renamed to jakarta and most stay in com.sun.xml?
My Gradle WSLD Java source generation plugin still uses com.sun.xml.ws:jaxws-tools of v2.3.2-1. There is v4.0.0 too:
https://mvnrepository.com/artifact/com.sun.xml.ws/jaxws-tools
but there is no jaxws-tools artifact under new Jakarta…

gavenkoa
- 45,285
- 19
- 251
- 303
0
votes
1 answer
Upgrade code from org.eclipse.jetty.websocket.websocket-client to org.eclipse.jetty.websocket.websocket-jakarta-client
I have the following application code in an application that I would like to migrate to Spring3 in order to do so javax is replaced with jakarta.
Any one have any Idea how to migrate the following code:
// Let's create and start the Web Socket
//
//…

dpalmna
- 1
0
votes
0 answers
When the Hazelcast support Jakarta EE migration to run on Tomcat 10 web server?
Our application needs to support Tomcat 10.
We are migrating the code to Jakarka EE 9, but due to HazelCast we are blocked.
When can we expect the HazelCast jakarta EE migration??
Details:
We are evaluating to support Tomcat 10 in our product. To…

Lakshmikantha Reddy
- 21
- 2
0
votes
0 answers
NoClassDefFoundError: javax/servlet/jsp/tagext/TagLibraryValidator while running springboot project
I am getting this error when I am using JSTL Tags in .jsp file.
My JSTL Core lib is:
<%@ taglib prefix = "c" uri = "http://java.sun.com/jsp/jstl/core" %>
and my pom.xml is:

Himanshu
- 1
0
votes
1 answer
Keycloak problems with Jakarta
I have the problem that I can't use the library: keycloak-server-spi-private-20.0.2.jar because it still depends on Javax and not on Jakarta.
For the admin-client I found a Jakarta version but I can't find it for the server-spi.
Does somebody know…

pemko
- 69
- 9
0
votes
1 answer
Keep honoring javax.validation.constraints.* annotations when switching to jakarta?
We are migrating to spring boot 3 and with that, to jakarta-ee.
I followed https://github.com/spring-projects/spring-boot/wiki/Spring-Boot-3.0-Migration-Guide#jakarta-ee , but I am not sure how to proceed with following problem:
is there any way to…

DRoppelt
- 406
- 1
- 4
- 14
0
votes
0 answers
Error instantiating servlet class [com.example.HelloServlet] caused by java.lang.NoClassDefFoundError: jakarta/servlet/http/HttpServlet
i am trying to learn about servlet from a tutorial I use intellij and this is the structure of the default project
project structure
when i try to send a request to the
HelloServlet
i get this error
error
this is the structure of the…
0
votes
0 answers
MultipartRequest error for jsp file upload
I am making a bulletin board using Apache Tomcat 10 version jsp language in Eclipse environment. I'm trying to create a file upload and download function, but the multipartrequest shows a red line. please tell me how to…

bin
- 3
- 3
0
votes
2 answers
java.lang.ClassNotFoundException: jakarta.faces.context.FacesContextFactory
I'm now trying to fix this for three days without success.
I was working on a JSF Project for a few weeks and had non problems and without knowingly changing anything a few days ago my tomcat did not start anymore. So I tried fixing it and even…

Morelia viridis
- 1
- 3
0
votes
0 answers
Switch from Tomcat 9 to 10 caused: "java.util.concurrent.ExecutionException: org.apache.catalina.LifecycleException: Failed to start compone..."
Here is the error:
SEVERE: A child container failed during start
java.util.concurrent.ExecutionException: org.apache.catalina.LifecycleException: Failed to start component…

ConfusedUbuntist
- 135
- 1
- 10
0
votes
1 answer
Cannot compile JAX-WS: module not found: jakarta.xml.bind
I want to use JAX-WS in Java 11 but when I try to compile, it shows me:
module not found: jakarta.xml.bind
I am importing JAX-WS libraries in my pom:
jakarta.xml.ws
…

Carmelo Quílez
- 11
- 4
-1
votes
1 answer
Why Jakarta.Servlet-api 6.0.0 is showing License Cast issue
I am using this library in my project
jakarta.servlet jakarta.servlet-api 6.0.0 provided
but when we are scanning for cast issue then its…

surjitkv
- 1
- 1
-1
votes
1 answer
Looking for an example @WebService that exclusively jakarta.*
`I am migrating a web application from Java8/Tomcat8 (J8T8) to Java11/Tomcat10 (J11T10). I have a handful of integrations with other systems that utilize SOAP/REST. Needless to say, this has been a journey. I've worked through several road blocks…

Dave
- 9
- 2
-1
votes
1 answer
Javadoc not found - jakarta.servlet (Tomcat 10.0.23, Apache Netbeans 13, JDK 1.8.0_321)
By default, Netbeans 13 template using javax, which is not included in Jarkata EE platform equipped by Tomcat 10. So I replace all javax by Jakarta package.
But I can't see or perform show javadoc.
What can I do to fix it?
Jakarta Servlet API…

DuyDuc
- 1
- 1