.resolverVariable

Pessoal estou tentando fazer uma classe Pessoa entrar em contato com a classe Pagamento de MEnsalidades, na hora que eu rodo da este erro: no codigo abaixo ,

alguém tem ideia o que e isso ?

Created dir: /home/junior/Menino/nbbuild/web/WEB-INF/classes
Copying 145 files to /home/junior/Menino/nbbuild/web
library-inclusion-in-archive:
library-inclusion-in-manifest:
Created dir: /home/junior/Menino/nbbuild/empty
Compiling 16 source files to /home/junior/Menino/nbbuild/web/WEB-INF/classes
/home/junior/Menino/src/br/gov/nutec/mb/MensalidadeMB.java:58: cannot find symbol
symbol  : method resolverVariable(javax.faces.context.FacesContext,java.lang.String)
location: class javax.faces.el.VariableResolver
                    .resolverVariable
Note: /home/junior/Menino/src/br/gov/nutec/mb/MensalidadeMB.java uses or overrides a deprecated API.
Note: Recompile with -Xlint:deprecation for details.
1 error
/home/junior/Menino/nbproject/build-impl.xml:412: The following error occurred while executing this line:
/home/junior/Menino/nbproject/build-impl.xml:231: Compile failed; see the compiler error output for details.
FALHA NA CONSTRUÇÃO (tempo total: 1 segundo)

        private PessoaMB pegaPessoaMB() {
        FacesContext facesContext = FacesContext.getCurrentInstance();
        PessoaMB mb = (PessoaMB) facesContext.getApplication()
                .getVariableResolver()
                    .resolverVariable
                        (facesContext,"PessoaMB");

           return mb;
}


    public List<SelectItem> GetPessoaParaComboBox(){
                List<SelectItem> lista = new ArrayList<SelectItem>();
                PessoaMB mb = pegaPessoaMB();
                for (Pessoa p: mb.getPessoas()){
                boolean add = lista.add(new SelectItem(p.getId().toString(), p.getNome()));
}
return lista;
}

Resolvi assim pessoal:

 // select para cargoHandler
    private PessoaMB pegaPessoaMB() {
        FacesContext facesContext = FacesContext.getCurrentInstance();
        ELContext elContext = facesContext.getELContext();
        ELResolver resolver = facesContext.getApplication().getELResolver();
        Object c = resolver.getValue(elContext, null, "pessoaMB");

        return (PessoaMB) c;
    }


    public List<SelectItem> GetPessoaParaComboBox(){
                List<SelectItem> lista = new ArrayList<SelectItem>();
                PessoaMB mb = pegaPessoaMB();
                for (Pessoa p: mb.getPessoas()){
                boolean add = lista.add(new SelectItem(p.getId().toString(), p.getNome()));
}
return lista;
}

Obrigado pelo email Fabio !