This week's book giveaway is in the OO, Patterns, UML and Refactoring forum.
We're giving away four copies of Refactoring for Software Design Smells: Managing Technical Debt and have Girish Suryanarayana, Ganesh Samarthyam & Tushar Sharma on-line!
See this thread for details.
The moose likes JSP and the fly likes Error - Can't find bundle Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login

JavaRanch » Java Forums » Java » JSP
Bookmark "Error - Can Watch "Error - Can New topic

Error - Can't find bundle

Dilip kumar
Ranch Hand

Joined: Oct 16, 2000
Posts: 360
Hello All,

I'm getting below mentioned error while using resource bundle

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

Here is the code
ResourceBundle rb = ResourceBundle.getBundle("report");

I have file in the WEB-INF folder in the war file. Is this the incorrect folder to have properties file ?

Really appreciate any suggestions.

Santhosh Reddy

Joined: Sep 25, 2006
Posts: 27
Try keeping the file in classes folder
I agree. Here's the link:
subject: Error - Can't find bundle
It's not a secret anymore!