Win a copy of Design for the Mind this week in the Design forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

javax.el.MethodNotFoundException

 
Himalay Majumdar
Ranch Hand
Posts: 324
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
 
Himalay Majumdar
Ranch Hand
Posts: 324
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Never mind. IntelliJ imported java.awt.event.ActionEvent for me by default.
Changing it to import javax.faces.event.ActionEvent solved it.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic