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
1
vote
1 answer
How to handle javax.net and javax.sql imports while upgrading to SpringBoot 3?
I am upgrading my application from springboot 2.** to springboot 3.07. I am aware that we have to jakarta package instead of javax but not sure what to do about javax.net.* and javax.sql.datasource imports.
what is the replacement for these with…

Java_guy
- 11
- 1
1
vote
1 answer
How to convert Objectify 6.0.9 to Jakarta namespace
I am upgrading a project from java 8 to java 17, which uses the Jakarta namespace and I make use of Objectify java library to communicate with Google datastore, but the problem is that Objectify 6.0.9 uses javax.servlet.* which does not exist in…

Wisdom Ekene
- 55
- 1
- 6
1
vote
0 answers
Does apache ignite-web 2.15.0 works in Tomcat 10.1?
The apache ignite-web.jar: 2.15.0 still depends on javax.servlet which does not work in Tomcat 10.1 as it bundles the jakarta.servlet namespace.
Can you please let me how to make run apache ignite in Tomcat 10.1 web contianer ?
No clue till now on…

Lakshmikantha Reddy
- 21
- 2
1
vote
1 answer
Problems migrating to PrimeFaces 12, Sapphire 5.1 and WildFly 28
I am migrating my Prime Faces application from version 7 to version 12, my Sapphire Template to version Sapphire 5.1 and my application server from WildFly 17 to WildFly 28.
As WildFly 28 does not support Java EE anymore (and hence all packages…

Alex Mi
- 1,409
- 2
- 21
- 35
1
vote
1 answer
maven-jaxb2-plugin plugin giving Error "javax-xml-bind-annotation does not exist" in Spring Boot -3
I am trying to create a spring boot 3 soap consumer middleware. I have used spring-boot-starter-web-services dependency and maven-jaxb2-plugin to generate STUB class from a WSDL file. But whenever I try to build project I am getting error.
This is…

Rakib Ahmed
- 21
- 3
1
vote
1 answer
Why am I not able to authenticate against LDAP Server in SpringBoot3?
I am attempting to connect an application to LDAP after upgrading to:
OpenJDK 17, SpringBoot 3.0.2, Gradle 8.0
Previously, we had a homegrown solution to connect to the active directory that will no longer function as written. My attempts have been…

kkellogg
- 11
- 2
1
vote
2 answers
Quarkus and javax libraries
I'm wondering if there is any technical reason behind the fact that Quarkus still relies on javax namespace instead of using the new jakarta namespace.
What confuses me more, is that many docs report the usage of Jakarta libraries (e.g. see here…

JeanValjean
- 17,172
- 23
- 113
- 157
1
vote
0 answers
org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'org.springframework.security.filterChains'::
I am using Spring instead of Jakarta EE and deployed on Glassfish 6 (RI implementation for Jakarta EE 9 ). I have updated the version of spring security 3.2.5 to 6.0.1, when I insert tag into spring-security.xml. these spring libraries in my ejb…

shamin
- 11
- 2
1
vote
2 answers
java.lang.ClassNotFoundException: jakarta.servlet.http.HttpServlet : Spring MVC and Eclipse
I am creating a web application using Spring MVC and Eclipse IDE.
Spring Version- 6.0.3
To configure the project, I followed the following steps-
Added dependencies in pom.xml-
junit
…

ayush
- 464
- 5
- 17
1
vote
1 answer
Migration to Jakarta EE 10 - 3rd party namespaces
I am currently trying to migrate our product from Jakarta EE 8 to Jakarta EE 10. According to the namespace changes of Jakarta APIs I've decided to use intellij Migration tool. After that when I tried to build the application I found out following…

bednarb
- 89
- 1
- 6
1
vote
1 answer
Liquibase generate diff with Springboot 3
I'm trying to generate liquibase-scripts with liquibase 4.18.0 and Spring Boot 3.0.1.
And i'm getting this error:
[ERROR] Failed to execute goal org.liquibase:liquibase-maven-plugin:4.18.0:diff (default-cli) on project ims-backend: Execution…

wutzebaer
- 14,365
- 19
- 99
- 170
1
vote
1 answer
OpenAPI, SpringBoot 3.x not eveerything uses Jakarta instead of Javax
I am trying to bump up dependencies in my project to SpringBoot 3.x. As Spring is switching from javax to jakarta, I'm trying to make it all happened in the project as well.
I'm, using OpenAPI to generate some files, and as for most of them…

Artur Jarosz
- 81
- 4
- 14
1
vote
0 answers
cannot access jakart.servlet.filter in java maven project
Getting the error cannot access jakarta.servlet.Filter when running mvn clean install and getting
class file for jakarta.servlet.Filter not found when trying to run. This seems to have started after moving from javax to jakarta, including updating…

public_void_kee
- 65
- 6
1
vote
1 answer
Error compilling Jetty embeded application : org.eclipse.jetty.server reads package jakarta.servlet from both jetty.servlet.api and jakarta.servlet
I'm bulding an embeded Jetty application with Maven. jetty.version: 11.0.13 servlet-api.version: 5.0.0.
It is a multi module project.
One maven module, named "utils", depends on jakarta.servlet-api for compilling (scope is provided). The java…

cquezel
- 3,859
- 1
- 30
- 32
1
vote
1 answer
Spring Boot 3 JSP Issue
I've been having issues with JSP since moving to Java 17 and Spring Boot 3. I know that we need to use jakarta.* instead of javax.*, but is there something I'm missing? I am using Spring Tools 4 and just running a basic web app using JSP. When using…

Mingju Roberts
- 91
- 9