Skip to content
Advertisement

Tag: jakarta-ee

How to Mocking Request from Faces Context External Context?

I have code on MainBacking.java like this : I made FacesContextProvider class too and here is my FacesContextProvider.java And here is my test.java When I run the test i got error null on MainBacking.java:11 Please help me. Thank You. Answer Thank You for all response, I’ve solved my problem by reading this article. I didn’t know whats wrong when I’m

Wildfly Undertow: jakarta.servlets.Servlet does not implement javax.servlet.Servlet

I am trying to migrate some Servlets from javax libraries to jakarta. Changes are pretty straightforward but, when I try to run them on Wildfly 23, I get this error message: Servlet JAX-WS-Service of type class com.sun.xml.ws.transport.http.servlet.WSServlet does not implement javax.servlet.Servlet This happens for this servlet (used for JAXWS, but that’s not the point) but also with my own servlets,

upgrade servlet 4.0.1 to servlet 5.0

I am upgrading servlet 4.0.1 to servlet 5.0. I was using below maven dependency for servlet 4.0.1 When I am upgrading to servlet 5.0 then I see that There is a new term ‘Jakarta’ and servlet5 comes with Jakarta API with below maven dependency. So, there are below questions I tried to search on the internet but couldn’t find Please

Jetty 11 Doesn’t Detect Jakarta Servlets

This is a follow up to this question. I don’t think it’s a duplicate because the accepted answer indicates that Jetty 11 doesn’t work with javax servlets, but I’m asking why Jetty 11 doesn’t work with jakarta servlets. I have an example project here that uses Jetty 9 to deploy a local server, including a javax servlet that uses the

Error when adding java agent in VM arguments while using OpenJPA

I found solution for my problem with OpenJPA here: Using TomEE and open JPA, i get the following error: SEVERE: JAVA AGENT NOT INSTALLED, but adding VM parameter as in question answer or documentation https://tomee.apache.org/javaagent.html, in project’s run configuration, results in this error, after trying to run: Project is JavaEE in Eclipse IDE, using Maven build tool and TomEE as

Using Vaadin Flow with Jakarta EE 9

I see that Apache Tomcat 10 (alpha) is now available. The major feature there is support for Jakarta EE 9 where package names for APIs have changed from javax.* to jakarta.*. Jakarta EE 9 now has a milestone release available. Can the current versions of Vaadin Flow (14 or 16) be made to work with the new Jakarta 9 and

Advertisement