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

Popular posts from this blog

javascript - Trigger mouseenter when an animated element touches mouse -

json - Zend error Connection -

java - Using Spring @Transactional with a combination of readOnly and write, when does this entity get committed? -