234 questions
0
votes
0
answers
42
views
form action attribute not using forwarded request URI
In jakarta mojarra 4.0.11 the action attribute of the form component is not using the forwarded request URI but the normal request URI.
This was not the case in javax mojarra 2.3.18 as i see now ...
-1
votes
1
answer
72
views
Migrating to the new version of GlassFish. I can't assign a new server in new version to old NetBeans project. What changes are required in project?
I would like to migrate GlassFish Server from old version 4.1 to current version: 7.025. I create a test server (virtula machine, new instance of GlassFish Server), it works well. I can connect to it ...
0
votes
1
answer
158
views
Not able to generate Jakarta based import from javax
I am trying to migrate to java 21. I have a binding.xjb file which uses jaxb and jaxws for generating java code from wsdl and xsd files.
I have run mvn rewrite: run to run the recipe for migration ...
0
votes
0
answers
272
views
Spring Framework 6 migrating Hibernate sessionFactory to JPA entityManagerFactory bean creation error
Hi I'm trying to migrate from Spring 5 with Hibernate 5 to Spring 6 Hibernate 6 which in turn forces me to change from "javax" to "jakarta". I've read that Spring 6 is not ...
2
votes
1
answer
219
views
How can I upgrade code that uses Apache Commons FileUpload DiskFileItem for the Jakarta namespace?
I manage a Tomcat/JSP webapp. We are updating our source code to conform to the recent javax -> jakarta namespace change in the Servlet package.
The app uses the Apache Commons FileUpload package, ...
0
votes
0
answers
138
views
jakarta.annotation.PostConstruct 1.3.5 vs 2.0.0
I am trying to upgrade jakarta.annotation:jakarta.annotation-api from 1.3.5 to 2.0.0 or 3.0.0. I use java 21, spring 5.3.
I did the necessary refactoring to change imports from javax.annotation....
0
votes
1
answer
93
views
Spring 6 HttpServletResponse.sendError(...) not commiting response to client + unexpected filterChain behaviour
I updated my Spring boot application to v3.4.4 and started getting some strange behavior when processing request with missing/expired/invalid JWT tokens. The filter chain is the following:
@Order(...
1
vote
0
answers
30
views
How do I upgrade the JSTL from 'javax' to 'jakarta'? [duplicate]
I have an older Java/JSP webapp that I'm attempting to update for Java 11/Tomcat 10. This upgrade covers the javax -> jakarta namespace change.
The app includes a package standard.jar that ...
1
vote
0
answers
37
views
java.lang.ClassNotFoundException: javax.faces.event.PreRenderComponentEvent in JoinFaces 5.4.4 & Primefaces 15.0 [duplicate]
After a few years away from Primefaces and JoinFaces, I've found myself with a problem that I've not been able to wrap my head around why things aren't running correctly. I'm trying to put together a ...
0
votes
0
answers
67
views
Non-Boot Springframework Project MIgration to Spring 6 and Jakarta classes, facing RESTEasy API Issues
I am migrating a non-boot spring framework project to spring 6 java 17 and Jakarta classes but facing issue while using RESTEasy api after changing the dependencies of RESTEasy which are compatible ...
0
votes
1
answer
779
views
Struts 7.0.0 problem with s:property tag and beans
I am trying to migrate a project from Struts 2.3.x to 7.0.0, but I am having trouble retrieving attribute values from a bean using the <s:property> tag.
At first, I thought I was missing some ...
0
votes
1
answer
106
views
Format of java.sql.Timestamp in JSON has changed
When upgrading a rest service from JEE7 to jakarta.jakartaee-api (v 10.0.0) there is an unwanted change in format of java.sql.Timestamp timestamps. The timestamps used to be like this
{"timestamp&...
0
votes
1
answer
347
views
java.lang.ClassNotFoundException: javax.servlet.ServletContext error using Jetty 12 EE10 Jakarta namespace with Spring Boot 3.2
I'm running Jetty 12.0.15 with Spring Boot 3.2.12. My code is all Jakarta namespace and I'm using Jakarta Servlet 6.0.0 which is now supported. All my config works fine when I run the app from ...
0
votes
0
answers
55
views
Wildfly not loading annotated servlets from dependency jar
We are migrating a Java EE 8 project to Jakarta EE 10, from Wildfly 26 to Wildfly 34, but WF 34 stopped to load annotated Servlets from dependency jars.
Annotated Servlets (with @WebServlet) are not ...
0
votes
0
answers
55
views
java.lang.NoClassDefFoundError: Failed to link jakarta/faces/webapp/FacesServlet [duplicate]
I have tried to migrate the application and according to internet documentation it is necessary to migrate all the packages from javax to jakarta but when I do this I get errors when running the ...