Hi everybody,
I am working with Spring and I have a problem with a bean, here is my code:
in this page collaborateur.xhtml i Can't display data from my DATABASE collaborateur.xhtml:
i get the error:Error creating bean with name 'collaborateurBean' defined in file
the code is:
<h:dataTable value="#{CollaborateurBean.getLis()}" var="item">
<h:column>
<h:outputText value="#{item.nom}" />
</h:column>
<h:column>
<h:outputText value="#{item.prenom()}" />
</h:column>
</h:dataTable>
///////////////////////////
When I
test the collaborateurBo i display data from my DATABASE. This is the code that gives data from database:
This means that the problem is in the Collaborateur bean not in collaborateurBo or CollaborateurDao.
Configuration:
pleasee help me!!