Empresas
Empregos
  • Sobre nós
  • Soluções
    • Publicação de vagas
      Publique sua vaga e receba candidatos qualificados em 48h.
    • Avaliações de candidatos
      Mais de 500 testes técnicos e psicológicos, mais anti-fraude.
    • Headhunting
      Busca executiva personalizada do início ao fim.
    • Folha de Pagamento + EOR
      Dispersão de folha e EOR em mais de 15 países da LATAM.
  • Preços
  • Empregos

0

340
Visualizações
Eclipse does not recognize Message Bundle (f:loadBundle error)

I'm making a project with maven/spring, but i'm facing a annoying error, eclipse does not recognize my message bundle, if i try to start weblogic inside eclipse (with oracle weblogic server tools), i got this error message and the deploy is aborted:

 Multiple annotations found at this line:
 -config.message not found.
 -Resource bundle config.message cannot be found on classpath

but if i run the maven build, and start weblogic outside eclipse (startWebLogic.cmd) it works well.

in template.xhtml: <f:loadBundle basename="config.message" var="msg"/>

faces-config.xml:

<application>
    <el-resolver>org.springframework.web.jsf.el.SpringBeanFacesELResolver</el-resolver>
    <locale-config>
        <default-locale>pt_BR</default-locale>
        <supported-locale>en</supported-locale>
    </locale-config>
    <resource-bundle>
        <base-name>config.message</base-name>
        <var>msg</var>
    </resource-bundle>
</application>

anyone already had this problem and solved?

about 4 years ago · Santiago Trujillo
1 Respostas
Responde à pergunta

0

I just found the solution and it's a little shameful ... I removed the <f: loadBundle basename =" config.message "var =" msg "/> in xhtml template because it wad ALREADY declared in faces-config.xml, and the 'config.message' do not physically exists the properties file is concatenated with language code, that caused the error on eclipse.

about 4 years ago · Santiago Trujillo Relatório
Responde à pergunta
Encontrar trabalhos remotos

Descubra a nova forma de encontrar um emprego!

melhores empregos
Principais categorias de trabalho
Empresas
Postar vaga Preços Comercial
Jurídico
Termos e Condições Política de privacidade
© 2026 PeakU Inc. All Rights Reserved.
Andres GPT
Recomende algumas ofertas para mim
Preciso de ajuda