Problem with PrimeFaces 10 used in a Jakarta EE 9 application

UI Components for JSF
Post Reply
Posts: 19
Joined: 21 Mar 2010, 12:25

19 Jul 2021, 21:10

I use PrimeFaces 10 in a Jakarta EE 9 web application. The server is Payara 5.2021.4 and the JDK is Java 11.

My code uses the namespace "jakarta" but Payara uses a transformer to transform the application to a Jakarta EE 8 application (javax namespace).

My application works if I have no dependency to PrimeFaces in pom.xml. A JSF table (not a PF table) in a JSF page retrieves a lot of items.

If I add a dependency to PrimeFaces 10 (without the classifier "jakarta"), I get this error:
"WELD-000119: Not generating any bean definitions from fr.grin.tpcustomer.session.CustomerManager because of underlying class loading error: Type jakarta.persistence.EntityManager not found. If this is unexpected, enable DEBUG logging to see the full error."
and my application is not working anymore: no items are retrieved by the JSF table.

Can someone explain to me the reason for this problem? Is there a way to use PrimeFaces 10 in my application?

Remark: If I add the classifier "jakarta" to the PF dependency, all the classes from the packages "jarkarta" (probably used by PF) are not found and cause errors when I launch the application.


Posts: 2929
Joined: 22 Apr 2013, 15:48

19 Jul 2021, 21:58

To me this sounds like a Payara issue as I have PF10 jakarta working fine in a Wildfly EE9 example project.

See my project here: ... jakartaee9
PrimeFaces Developer | PrimeFaces Extensions Developer
GitHub Profile:
PrimeFaces Elite 10.0.7 / PF Extensions 10.0.6
PrimeReact 7.0.1

Posts: 19
Joined: 21 Mar 2010, 12:25

20 Jul 2021, 09:01

Thanks Melloware. I will send a message to Payara.

Elvis Fabiane
Posts: 16
Joined: 12 Dec 2013, 19:01

21 Sep 2021, 13:50

Good Morning. We are having the same problem. Payara 5,2021.7; primefaces 10.0.0; jdk11. Did you get any feedback or did you manage to solve it in another way? Thanks.

Posts: 1
Joined: 22 Sep 2021, 13:21
Location: usa

22 Sep 2021, 13:28

Comparing the table shown in the previous article to this one, you can see that the JDK 11 compatibility theme moved from Jakarta EE 9 to Jakarta EE 9.1, which is still to be released this year.

While this obviously takes some time away from Jakarta EE 9 , planning for that latter release has started to some degree nevertheless, and some of the individual specifications and API projects have started their discussions. Note that everything presented in this article is preliminary and represents the current state of what is thought to be the direction in which Jakarta EE 9 will be heading, but it provides no guarantees that any of this will [url=]spacebar counter [/url]actually end up in Jakarta EE 9.

Post Reply

Return to “PrimeFaces”

  • Information
  • Who is online

    Users browsing this forum: No registered users and 18 guests