File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
The moose likes JSF and the fly likes java.util.MissingResourceException: Can't find bundle for base name Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login

Win a copy of REST with Spring (video course) this week in the Spring forum!
JavaRanch » Java Forums » Java » JSF
Bookmark "java.util.MissingResourceException: Can Watch "java.util.MissingResourceException: Can New topic

java.util.MissingResourceException: Can't find bundle for base name

kool smart

Joined: Jan 05, 2012
Posts: 1

I am trying to call from a JSF command button --> action to call a method on controller java class which in turns call a model java class.

The model java class has a to create an instance of a Final Framework UVW Class in which an object is passed the instance is created by getInstance() method which is public which gets a string from a resource bundle.

private static ResourceBundle resourceBundle = ResourceBundle.getBundle("");
private static final Logger logger = Logger
// in side a method

public static final UVW getInstance()
throws Exception {
resourceBundle.getString("LMNOP01"), "getInstance"));


I get the following error on my UI JSP page

root cause

java.util.MissingResourceException: Can't find bundle for base name, locale en_US

Please suggest as i might be missing something....
Tim Holloway
Saloon Keeper

Joined: Jun 25, 2001
Posts: 17276

You're missing something all right. You're neither being "kool" nor "smart".

We're a very laid-back bunch around here, but the one thing we do insist on is that you use your real name and not some sort of "handle" or alias. If you missed the details, check here: . The sooner you fix your display name, the sooner you'll get your question answered.

An IDE is no substitute for an Intelligent Developer.
I agree. Here's the link:
subject: java.util.MissingResourceException: Can't find bundle for base name
jQuery in Action, 3rd edition