I've the below command button:
<h:commandButton value="Valider" action="#{utilisateurBean.addUtilisateur()}" />
When I click this button, an error appears in server log:
Caused by: javax.el.PropertyNotFoundException: Property 'addUtilisateur' not found on type com.faycal.bean.UtilisateurBean
How is this caused and how can I solve it? The UtilisateurBean
is @ViewScoped
.