title: javax.faces.FacesException: Expression Error: Object named: entityConverter not found
body: <p>Well, I have a custom faces converter like bellow:</p>
  
  <pre><code>@FacesConverter(value = "entityConverter", forClass = AbstractBean.class)
  public class EntityConverter implements Converter {
  </code></pre>
  
  <p>And in some part of my XHTML, i use this like that:</p>
  
  <pre><code>&lt;p:selectOneMenu converter="entityConverter"
                  rendered="#{clienteMB.bean.pessoaFisica != null}"
                  value="#{clienteMB.bean.pessoaFisica.estadoCivil.descricao}"
                  effect="fade"&gt;
                  &lt;f:selectItem itemLabel="Selecione um Sexo" itemValue="" /&gt;
                  &lt;f:selectItems value="#{clienteMB.estadosCivis}" var="estadoCivil"
                      itemLabel="#{estadoCivil.descricao}" itemValue="#{estadoCivil}" /&gt;
              &lt;/p:selectOneMenu&gt;
  </code></pre>
  
  <p>But when i try to enter in this page, i got the following error:</p>
  
  <pre><code>javax.faces.FacesException: Expression Error: Object named: entityConverter not found.
      at com.sun.faces.application.ApplicationImpl.createConverter(ApplicationImpl.java:1338)
      at com.sun.faces.facelets.tag.jsf.ValueHolderRule$LiteralConverterMetadata.applyMetadata(ValueHolderRule.java:85)
      at com.sun.faces.facelets.tag.MetadataImpl.applyMetadata(MetadataImpl.java:81)
      at javax.faces.view.facelets.MetaTagHandler.setAttributes(MetaTagHandler.java:129)
      at javax.faces.view.facelets.DelegatingMetaTagHandler.setAttributes(DelegatingMetaTagHandler.java:102)
      at com.sun.faces.facelets.tag.jsf.ComponentTagHandlerDelegateImpl.doNewComponentActions(ComponentTagHandlerDelegateImpl.java:409)
      at com.sun.faces.facelets.tag.jsf.ComponentTagHandlerDelegateImpl.apply(ComponentTagHandlerDelegateImpl.java:159)
      at javax.faces.view.facelets.DelegatingMetaTagHandler.apply(DelegatingMetaTagHandler.java:120)
      at javax.faces.view.facelets.CompositeFaceletHandler.apply(CompositeFaceletHandler.java:98)
      at javax.faces.view.facelets.DelegatingMetaTagHandler.applyNextHandler(DelegatingMetaTagHandler.java:137)
      ...
  </code></pre>
  
  <p>I have no idea why this is happen.</p>