Questions tagged [jakarta-migration]

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.

107 questions
12
votes
3 answers

jakarta.servlet.ServletException: java.lang.NoClassDefFoundError: javax/servlet/jsp/tagext/TagLibraryValidator

I am trying to execute JSP with JSTL, but I am not able to. I have Apache Tomcat 10, i.e. jakarta.servlet.* instead of javax.servlet.*. So whenever I execute the web app with JSTL 1.2.5 files, then I get the error: jakarta.servlet.ServletException:…
10
votes
1 answer

Spring Boot 3.0 package javax.validation does not exist

I'm trying to use a method parameter validation feature supported by Bean Validation 1.1. For instance, the following method triggers the validation of the first parameter, making sure it's valid: public String generateOtp(@Valid…
Boris
  • 22,667
  • 16
  • 50
  • 71
9
votes
3 answers

How to use Java EE and Jakarta EE dependencies together?

Is it at all possible to use older Java EE libraries (with javax package) in new Jakarta EE applications (with jakarta package)? All the APIs would be backwards compatible if it weren't for the trademark issue. Is there any runtime library or build…
OrangeDog
  • 36,653
  • 12
  • 122
  • 207
5
votes
0 answers

Impossible to start application after upgrade to spring boot 3 and jakarta Faces 4

I' trying to migrate a spring boot application from spring boot 2.7.8 to 3.0.6. The application uses jsf mojarra and primefaces for GUI. The application works fine with spring boot 2.7.8 Spring boot 3 uses spring 6, which needs java 17, and tomcat…
5
votes
3 answers

Springframework : PermittedSubclasses requires ASM8/9

I have updated the lib and dependency of my project including : From OpenJDK 11 to OpenJDK 17.0.2 From JavaEE to Jakarta 9 From Springboot 2.7.4 to 3.0.1 The application can be built successfully, and I try to deploy it to Payara Server 6.2022.2…
barry
  • 79
  • 3
5
votes
1 answer

How to upgrade from Vaadin 23 to Vaadin 24?

I used the Plain Java starter app from the Hello World Starters page of downloads. I updated its Maven POM to the latest versions of dependencies. So Vaadin 23.3.1, Java 19, jetty-maven-plugin 10.0.12, and so on. The POM looks like this:
Basil Bourque
  • 303,325
  • 100
  • 852
  • 1,154
4
votes
1 answer

Does WildFly 25 use jakarta.* api or are the javax.* apis still compatible

I've updated my project from java 11 to 17 and accordingly I had to update my wildfly version from 15 to 25 because the war of java17 is not compatible with wildfly 15. here my question is if I have to migrate my javax to jakarta because the wildfly…
Ruch
  • 111
  • 1
  • 7
4
votes
4 answers

Hibernate 6 @Type annotation

I upgraded to Springboot 3.0 and in my hibernate entity class has something like: @Column(columnDefinition = "jsonb", nullable = false, updatable = true, name = "accounts") @Type(type = "jsonb") private ArrayList accounts; But…
TrollBearPig
  • 496
  • 1
  • 7
  • 17
3
votes
1 answer

Do javax.net.ssl.* VM arguments need to be migrated to jakarta.net.ssl.*?

Quarkus 3 has introduced Jakarta EE 10 that need to replace all the javax.* package with jakarta. package. In our application we set these system properties at startup: -Djavax.net.ssl.trustStore=... -Djavax.net.ssl.trustStorePassword=... Do we…
Sh4iDo
  • 33
  • 3
3
votes
0 answers

Alternative for org.apache.commons.mail.util.MimeMessageParser compatible with Jakarta on Java 17

As I updated my Spring Boot application to Java 17 and Spring Boot 3, I migrated from Java EE to Jakarta. I used the MimeMessageParser of org.apache.commons.mail.util.MimeMessageParser, but it expects a javax.mail.internet.MimeMessage rather than a…
3
votes
2 answers

Oracle Advanced Queuing and Jakarta namespace

I am using Oracle AQ in my Java Spring Boot application. I have Oracle JMS implementation AQAPI as dependencies. Recently I had tried to update the application to Spring Boot 3.x which is build on Jakarta, not Javax namespace. However my code is no…
Ev.Rei.
  • 251
  • 2
  • 8
3
votes
1 answer

Create a jar file that supports javax.* and jakarta.*

As you probably know, javax had to change it's name to jakarta due to a trademark issue. Right now my company has gives our customers two .jar files, one for those using Tomcat 9 or earlier (javax) and one for Tomcat 10 (jakarta). Is it possible to…
Brian
  • 307
  • 2
  • 15
3
votes
1 answer

Migrating PrimeFaces to Jakarta EE 9+, java.lang.NoClassDefFoundError on javax.*

I am adopting Jakarta EE 9 and developing an EE application with EJB and WAR modules. EJB is already done and deployed on GlassFish 6. Now I want to develop WAR module with PrimeFaces as part of the same EAR and deploy the EAR on GF 6. I understood…
KronosOne
  • 67
  • 2
  • 8
2
votes
3 answers

Eclipse 2023 Content Assist for xhtml files with Jakarta Server Faces 4.0

My minimal project compiles and runs fine. However I have a lot of editing to do and new dev work on xhtml pages. I noticed that Eclipse Content Assist doesn't function either on backing bean components or JSF components like primefaces. Any…
Ted Spradley
  • 3,414
  • 3
  • 22
  • 26
2
votes
1 answer
1
2 3 4 5 6 7 8