Business
Jobs
  • About Us
  • Solutions
    • Job Postings
      Post your job and receive qualified candidates in 48h.
    • Candidate Assessments
      500+ technical and psychological tests, plus anti-fraud.
    • Headhunting
      Tailor-made executive search from start to finish.
    • Payroll + EOR
      Payroll dispersal and EOR across 15+ LATAM countries.
  • Pricing
  • Jobs

0

338
Views
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 answers
Answer question

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 Report
Answer question
Find remote jobs

Discover the new way to find a job!

Top jobs
Top job categories
Business
Post vacancy Pricing Sales
Legal
Terms and conditions Privacy policy
© 2026 PeakU Inc. All Rights Reserved.
Andres GPT
Show me some job opportunities
There's an error!