File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
The moose likes JSF and the fly likes javax.el.MethodNotFoundException Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login

Win a copy of The Java EE 7 Tutorial Volume 1 or Volume 2 this week in the Java EE forum
or jQuery UI in Action in the JavaScript forum!
JavaRanch » Java Forums » Java » JSF
Bookmark "javax.el.MethodNotFoundException" Watch "javax.el.MethodNotFoundException" New topic


Himalay Majumdar
Ranch Hand

Joined: Sep 28, 2008
Posts: 324
I am trying to get ActionEvent work in my code but keep getting Method Not Found Exceptions. Please let me know if there is anything wrong with the code.

javax.el.MethodNotFoundException: /html/payment/PaymentList.xhtml @271,132 actionListener="#{reimbursementAction.clearForm}": Method not found: com.csa.action.payment.ReimbursementActionBean@74d909.clearForm(javax.faces.event.ActionEvent)

Thank you,
Himalay Majumdar
Ranch Hand

Joined: Sep 28, 2008
Posts: 324
Never mind. IntelliJ imported java.awt.event.ActionEvent for me by default.
Changing it to import javax.faces.event.ActionEvent solved it.
I agree. Here's the link:
subject: javax.el.MethodNotFoundException