• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

resource bundle

 
Tiago Fernandez
Ranch Hand
Posts: 167
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hey fellas,

I have two projects inside Eclipse, and one resource bundle for each one ("config/x_en_US.properties" and "config/y_en_US.properties"). The "X" project holds the business logic, while "Y" handles the GUI classes. The error messages in "X" project are retrieved from config/x_en_US.properties.

So, I start the GUI's application through "Y" project, use the interface and lead the "X" project to throw an exception with the message from x_en_US.properties... then I get this:

Exception in thread "AWT-EventQueue-0" java.util.MissingResourceException: Can't find resource for bundle java.util.PropertyResourceBundle, key error.missing.value

Everything works fine from my test case located at "X" project. What went wrong? I don't know what to do anymore

I appreciate some help.

Thanks
 
Manuel Moons
Ranch Hand
Posts: 229
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I'm not sure but is it possible that you are referring to a property in your resource bundle called "error.missing.value" that is not present in your resource property file?
 
Tiago Fernandez
Ranch Hand
Posts: 167
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
No, unfortunatelly that's not the problem...
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic