File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
The moose likes Java in General and the fly likes resource bundle Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » Java in General
Bookmark "resource bundle" Watch "resource bundle" New topic

resource bundle

Tiago Fernandez
Ranch Hand

Joined: May 16, 2003
Posts: 167
Hey fellas,

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

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 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.


Tiago Fernandez
Manuel Moons
Ranch Hand

Joined: Mar 05, 2002
Posts: 229
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

Joined: May 16, 2003
Posts: 167
No, unfortunatelly that's not the problem...
I agree. Here's the link:
subject: resource bundle
It's not a secret anymore!