CDI deployment failure - Payara 6

Hi, Payara community,

Our team recently ran into an error while deploying a web application project in NetBeans. We used Payara 6.

The error message is as follows:

SEVERE: Exception while loading the app
SEVERE: Undeployment failed for context /MetaboAnalyst
SEVERE: Exception while loading the app: CDI deployment failure: javax/faces/component/behavior/ClientBehaviorHolder – javax/faces/component/behavior/ClientBehaviorHolder

Does anyone have any insights into this issue?

Your help is greatly appreciated!


check in web.xml if you have jakarta, not javax faces servlet

        <servlet-name>Faces Servlet</servlet-name>