Empresas
Empleos
  • Sobre nosotros
  • Soluciones
    • Publicación de vacantes
      Publica tu vacante y recibe candidatos calificados en 48h.
    • Evaluación de candidatos
      500+ pruebas técnicas y psicológicas, más anti-fraude.
    • Headhunting
      Búsqueda ejecutiva a la medida de principio a fin.
    • Nómina + EOR
      Dispersión de nómina y EOR en más de 15 países de LATAM.
  • Precios
  • Empleos

0

341
Vistas
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 Respuestas
Responde la pregunta

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 Denunciar
Responde la pregunta
Encuentra empleos remotos

¡Descubre la nueva forma de encontrar empleo!

Top de empleos
Top categorías de empleo
Empresas
Publicar vacante Precios Comercial
Legal
Términos y condiciones Política de privacidad
© 2026 PeakU Inc. All Rights Reserved.
Andres GPT
Recomiéndame algunas ofertas
Necesito ayuda