File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
The moose likes Beginning Java and the fly likes ResourceBundle woes Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » Beginning Java
Bookmark "ResourceBundle woes" Watch "ResourceBundle woes" New topic
Author

ResourceBundle woes

Tim Manchester
Ranch Hand

Joined: Nov 03, 2004
Posts: 62
I have the following code:


When I step through it, I get the "DataAccessObject.properties exists!" message, but when I get to the call to getBundle(), I get the following error:
java.util.MissingResourceException: Can't find bundle for base name DataAccessObject.properties, locale en_US
at java.util.ResourceBundle.throwMissingResourceException(ResourceBundle.java:724)

Does anyone know what the problem might be?
[ July 22, 2005: Message edited by: Tim Manchester ]
Richard Anderson
Ranch Hand

Joined: May 20, 2005
Posts: 61
Maybe you should use a


-Rich, SCJP 1.4
Richard Anderson
Ranch Hand

Joined: May 20, 2005
Posts: 61
Maybe you should use a PropertyResourceBundle instead of just a ResourceBundle.
Tim Manchester
Ranch Hand

Joined: Nov 03, 2004
Posts: 62
That works. Thanks.

- T
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: ResourceBundle woes