Primefaces 12.0.3 Jakarta version and Jakarta EE9 on Payara 5.2022.2 #43
-
Hi everyone!! I'm migrating JEE8 to JEE9, renaming packages javax.* to jakarta.* but I'm in troubles. I'm trying to boot Payara Server 5.2022.2 with Primefaces 12.0.3 (Jakarta version), my application compiles on JDK17, at the end of deploy goal, Payara throws the following exception:
Can anyone tell me why I got that error? Do I must tell Payara if it uses javax or jakarta packages? Do I must update Payara for getting Primefaces Jakarta working? If you need more information, I can provide it. Thanks a lot. |
Beta Was this translation helpful? Give feedback.
Replies: 4 comments 1 reply
-
People have complained about this Payara issue before: https://stackoverflow.com/questions/73023312/primefaces-11-with-java-8-and-payara-micro-does-not-work Not sure there was ever a resolution other than Payara = nightmare. cc @newk5 |
Beta Was this translation helpful? Give feedback.
-
@oarenas-GI FYI I've transferred the discussion to the new location. We might be looking into migration ourselves soon. I think we'll be using Payara 6 / EE10 though. |
Beta Was this translation helpful? Give feedback.
-
I think I remember having a similar issue before and the issue was that I forgot to add the primefaces jakarta classifier to pom.xml. Are you sure you specified it? Also make sure you update the taglibs in your xhtml files ( xmlns:h="http://java.sun.com/jsf/html" --> "jakarta.faces.html" etc...) and check your web.xml/beans.xml for any "javax.faces" entries, they should now be "jakarta.faces" |
Beta Was this translation helpful? Give feedback.
-
Just dont use commons-fileupload on jakarta, thats not supported. |
Beta Was this translation helpful? Give feedback.
Just dont use commons-fileupload on jakarta, thats not supported.