Win a copy of The Little Book of Impediments (e-book only) this week in the Agile and Other Processes forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Error creating bean with name 'collaborateurBean' defined in file

 
aloni chris
Greenhorn
Posts: 1
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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>
<hutputText value="#{item.nom}" />
</h:column>

<h:column>
<hutputText 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!!
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic