Good evening I have a project of a system in JavaEE with JSF2 Primefaces.
I am using the @CPF and @CNPJ mappings of hibernate, in the same attribute.
But it is giving error "WARN: HV000129: EL expression '$ {value}' references an unknown property"
This is part of the model code @CNPJ(groups =JuridicaGroup.class)
@CPF(groups = FisicaGroup.class)
@Size(max = 20)
@Column(name = "doc_receita_federal", nullable = false, length = 20)
public String getDocumentoReceitaFederal() {
return documentoReceitaFederal;
}
I would like to receive the help, I researched the internet but nothing, only vague answers.