title: Method must have signature "String method()" but has signature "void method()"
body: <p>In some of my jsf i have a form. when user fill the form he/she can click on the button. on the following you can see a example of code that i use :  </p>
  
  <pre><code>&lt;h:commandButton styleClass="btn btn-primary btn-block" value="#{msg['button.add.share']}" action="#{AddShareControler.add}" /&gt;  
  </code></pre>
  
  <p>And in the <code>AddShareControler</code> i have a method called <code>add</code> with following structure :  </p>
  
  <pre><code>public void add() throws DaoImplNotFoundException, DataSourceException, IOException{
      share.setUserId(id);
      ShareDao dao=(ShareDao) Factory.getDao(ConfigReader.getConfig().getProperty("dao.share"));
      dao.add(share);
      FacesContext.getCurrentInstance().getExternalContext().redirect("share.jsf?uid="+share.getUserId());
  }  
  </code></pre>
  
  <p>But eclipse kepler give me a error in my xhtml file. this is the error that kelper give me :  </p>
  
  <blockquote>
    <p>Method must have signature "String method()" but has signature "void
    method()"</p>
  </blockquote>
  
  <p>I know what is the reason of this Error. Beacuase Add method return void. but why eclipse juno don't give me any error for the same code. And how i can resolve it in the kepler?</p>
  
  <p>thanks.</p>