jsf - "javax.el.ELException: Property not found on type" on a method expression -
i using primefaces 5.2, jsf 2.2 , tomcat 8 on linux server. line in xhtml:
<p:fileupload fileuploadlistener="#{uploadcontroller.complete}" multiple="true"/>
the method in class uploadcontroller:
public void complete(fileuploadevent fileuploadevent) { uploadedfile item = fileuploadevent.getfile(); // ... etc. nothing special, standard reading }
if start page in jetty, works fine.
but if start on linux server tomcat 8, got
javax.el.elexception property 'complete' not found on type
exception. tried run code on windows machine in tomcat 8 (started maven in cargo container). no problem there.
one step further put parameter method uploadcontroller.complete :
<p:fileupload fileuploadlistener="#{uploadcontroller.complete(fileuploadevent)}" multiple="true"/>
...the way parameter excepted (no f:param , f:attribute,... accepted => same elexception). event "fileuploadevent" in uploadcontroller null.
how solve problem?
Comments
Post a Comment