jsf - Bean class cannot be loaded due to a missing dependency: LazyDataModel -


i'm using primefaces framework realise lazy data table. imported package:

import org.primefaces.model.lazydatamodel; 

in eventviewer managedbean class. put primefaces-6.1.jar in web-inf/lib folder.

after deploying project on jboss as, when loading page following exception:

        2017-07-25 18:12:13,817 error [javax.enterprise.resource.webcontainer.jsf.managedbean] jsf unable create managed bean eventviewer when requested.  following problems found:          - bean or property class com.imnet.oam.fe.event.eventviewer managed bean eventviewer cannot loaded due missing dependency: org/primefaces/model/lazydatamodel.     2017-07-25 18:12:13,817 error [javax.enterprise.resource.webcontainer.jsf.application] error rendering view[/event.xhtml]     com.sun.faces.mgbean.managedbeancreationexception: unable create managed bean eventviewer.  following problems found:          - bean or property class com.imnet.oam.fe.event.eventviewer managed bean eventviewer cannot loaded due missing dependency: org/primefaces/model/lazydatamodel.         @ com.sun.faces.mgbean.beanmanager.create(beanmanager.java:265)         @ com.sun.faces.el.managedbeanelresolver.resolvebean(managedbeanelresolver.java:244)         @ com.sun.faces.el.managedbeanelresolver.getvalue(managedbeanelresolver.java:116)         @ com.sun.faces.el.demuxcompositeelresolver._getvalue(demuxcompositeelresolver.java:176)         @ com.sun.faces.el.demuxcompositeelresolver.getvalue(demuxcompositeelresolver.java:203)         @ org.jboss.el.parser.astidentifier.getvalue(astidentifier.java:44)         @ org.jboss.el.parser.astvalue.getvalue(astvalue.java:63)         @ org.jboss.el.valueexpressionimpl.getvalue(valueexpressionimpl.java:186)         @ com.sun.faces.facelets.el.tagvalueexpression.getvalue(tagvalueexpression.java:109)         @ javax.faces.component.componentstatehelper.eval(componentstatehelper.java:194)         @ javax.faces.component.componentstatehelper.eval(componentstatehelper.java:182)         @ javax.faces.component.uidata.getvalue(uidata.java:732)         @ org.primefaces.component.api.uidata.getdatamodel(uidata.java:764)         @ org.primefaces.component.datatable.datatable.loadlazydata(datatable.java:1097)          [...] 

this main error:

 - bean or property class com.imnet.oam.fe.event.eventviewer managed bean eventviewer cannot loaded due missing dependency: org/primefaces/model/lazydatamodel. 

how solve it?


Comments

Popular posts from this blog

node.js - Node js - Trying to send POST request, but it is not loading javascript content -

javascript - Replicate keyboard event with html button -

javascript - Web audio api 5.1 surround example not working in firefox -