title: javax.el.MethodNotFoundException: Method not found
body: <p>Here is my ManagedBean </p>
  
  <pre><code>package controller;
  
  import java.io.Serializable;
  import java.util.List;
  
  import javax.annotation.ManagedBean;
  import javax.faces.bean.RequestScoped;
  import javax.faces.bean.SessionScoped;
  
  import model.Client;
  
  import org.springframework.beans.factory.annotation.Autowired;
  import org.springframework.context.annotation.Scope;
  import org.springframework.stereotype.Component;
  
  
  import service.ClientService;
  
  
  
      public class ClientBeanManger implements Serializable {
           private static final long serialVersionUID = 1L;
  
           @Autowired
           private ClientService clientService;
           private Client client; 
  
  
          public void init () {
                }
  
  
           public Client getClient() {
              return client;
          }
  
  
          public void setClient(Client client) {
              this.client = client;
          }
  
  
           public void saveClient(Client client){
               clientService .add(client);
  
           }
  </code></pre>
  
  <p>I called saveclient method like in :</p>
  
  <pre><code>&lt;tr&gt;
         &lt;td&gt;&lt;p:commandButton id="addclient" value="Add" actionListener="{clientBean.saveClient}"/&gt;&lt;/td&gt;
  
         &lt;/tr&gt;
  </code></pre>
  
  <p>I have looked lots of examples about jsf .Everybody calls like I have called the method.What is the wrong which I haven't seenn i still not work since 2 days </p>